#2E248D#2E248D

#2E248D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.164 H 278.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2E248D
RGBrgb(46, 36, 141)
HSLhsl(246, 59%, 35%)
HSVhsv(246, 74%, 55%)
CMYKcmyk(67.4%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.88, 37.55, -56.37)
CIE-LCHlch(22.88, 67.73, 303.67°)
OKLaboklab(35.14% 0.0229 -0.1628)
OKLCHoklch(35.14% 0.164 278)
XYZxyz(6.5638, 3.7651, 25.5750)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E248D #838D24
analogous
#244F8D #2E248D #62248D
triadic
#2E248D #8D2E24 #248D2E
tetradic
#2E248D #8D244F #838D24 #248D62
square
#2E248D #8D244F #838D24 #248D62
split-complementary
#2E248D #8D6224 #4F8D24
monochromatic
#0E0B2B #1E185C #2E248D #3E30BE #6357D4

Accessibility & contrast

On white

11.98
#2E248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E248D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E248D#FFFFFF#000000##FFFFFF
##2E248D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e248d;
/* rgb */ color: rgb(46, 36, 141);
/* oklch */ color: oklch(35.1% 0.164 278.0);
Tailwind
colors: {
  custom: {
    50: '#7460af',
    500: '#2e248d',
    950: '#000000',
  },
}
SCSS
$custom: #2e248d;
$custom-light: #7460af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e248d",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 245.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.16437,
    "h": 278
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#2E248D
secondary
#AFB854
accent
#E345D4
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E248D

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

Preview Lab → · Contrast checker → · Palette generator →

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