#2E248F#2E248F

#2E248F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.167 H 277.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2E248F
RGBrgb(46, 36, 143)
HSLhsl(246, 60%, 35%)
HSVhsv(246, 75%, 56%)
CMYKcmyk(67.8%, 74.8%, 0%, 43.9%)
CIE-LABlab(23.08, 38.22, -57.27)
CIE-LCHlch(23.08, 68.85, 303.72°)
OKLaboklab(35.35% 0.0225 -0.1654)
OKLCHoklch(35.35% 0.167 277.7)
XYZxyz(6.7139, 3.8252, 26.3658)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E248F #858F24
analogous
#24508F #2E248F #63248F
triadic
#2E248F #8F2E24 #248F2E
tetradic
#2E248F #8F2450 #858F24 #248F63
square
#2E248F #8F2450 #858F24 #248F63
split-complementary
#2E248F #8F6324 #508F24
monochromatic
#0F0B2D #1E185E #2E248F #3E30C0 #6458D5

Accessibility & contrast

On white

11.90
#2E248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E248F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E248F#FFFFFF#000000##FFFFFF
##2E248F1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e248f;
/* rgb */ color: rgb(46, 36, 143);
/* oklch */ color: oklch(35.3% 0.167 277.7);
Tailwind
colors: {
  custom: {
    50: '#7560b1',
    500: '#2e248f',
    950: '#000000',
  },
}
SCSS
$custom: #2e248f;
$custom-light: #7560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e248f",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 245.607,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35345,
    "c": 0.16693,
    "h": 277.7
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#2E248F
secondary
#B0B955
accent
#E345D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E248F

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

Preview Lab → · Contrast checker → · Palette generator →

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