#2E249B#2E249B

#2E249B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.182 H 276.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2E249B
RGBrgb(46, 36, 155)
HSLhsl(245, 62%, 37%)
HSVhsv(245, 77%, 61%)
CMYKcmyk(70.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(24.35, 42.17, -62.59)
CIE-LCHlch(24.35, 75.47, 303.97°)
OKLaboklab(36.62% 0.0198 -0.1809)
OKLCHoklch(36.62% 0.182 276.2)
XYZxyz(7.6720, 4.2084, 31.4120)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E249B #919B24
analogous
#24569B #2E249B #6A249B
triadic
#2E249B #9B2E24 #249B2E
tetradic
#2E249B #9B2456 #919B24 #249B6A
square
#2E249B #9B2456 #919B24 #249B6A
split-complementary
#2E249B #9B6A24 #569B24
monochromatic
#110D38 #1F1869 #2E249B #3D30CD #6A5FDA

Accessibility & contrast

On white

11.40
#2E249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E249B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E249B#FFFFFF#000000##FFFFFF
##2E249B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e249b;
/* rgb */ color: rgb(46, 36, 155);
/* oklch */ color: oklch(36.6% 0.182 276.2);
Tailwind
colors: {
  custom: {
    50: '#7861ba',
    500: '#2e249b',
    950: '#000000',
  },
}
SCSS
$custom: #2e249b;
$custom-light: #7861ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e249b",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 245.042,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.18198,
    "h": 276.2
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#2E249B
secondary
#B7BF5C
accent
#E542D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E249B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E249B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva