#2E249C#2E249C

#2E249C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.183 H 276.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2E249C
RGBrgb(46, 36, 156)
HSLhsl(245, 63%, 38%)
HSVhsv(245, 77%, 61%)
CMYKcmyk(70.5%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.46, 42.49, -63.02)
CIE-LCHlch(24.46, 76.01, 303.99°)
OKLaboklab(36.73% 0.0196 -0.1822)
OKLCHoklch(36.73% 0.183 276.1)
XYZxyz(7.7564, 4.2422, 31.8561)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E249C #929C24
analogous
#24569C #2E249C #6A249C
triadic
#2E249C #9C2E24 #249C2E
tetradic
#2E249C #9C2456 #929C24 #249C6A
square
#2E249C #9C2456 #929C24 #249C6A
split-complementary
#2E249C #9C6A24 #569C24
monochromatic
#110D39 #1F196A #2E249C #3D2FCE #6A60DA

Accessibility & contrast

On white

11.36
#2E249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E249C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E249C#FFFFFF#000000##FFFFFF
##2E249C1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e249c;
/* rgb */ color: rgb(46, 36, 156);
/* oklch */ color: oklch(36.7% 0.183 276.1);
Tailwind
colors: {
  custom: {
    50: '#7861ba',
    500: '#2e249c',
    950: '#000000',
  },
}
SCSS
$custom: #2e249c;
$custom-light: #7861ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e249c",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 245,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36725,
    "c": 0.18322,
    "h": 276.1
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E249C

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

Preview Lab → · Contrast checker → · Palette generator →

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