#2E248A#2E248A

#2E248A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.161 H 278.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2E248A
RGBrgb(46, 36, 138)
HSLhsl(246, 59%, 34%)
HSVhsv(246, 74%, 54%)
CMYKcmyk(66.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(22.57, 36.55, -55.00)
CIE-LCHlch(22.57, 66.04, 303.61°)
OKLaboklab(34.83% 0.0235 -0.1588)
OKLCHoklch(34.83% 0.161 278.4)
XYZxyz(6.3436, 3.6771, 24.4153)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E248A #808A24
analogous
#244D8A #2E248A #61248A
triadic
#2E248A #8A2E24 #248A2E
tetradic
#2E248A #8A244D #808A24 #248A61
square
#2E248A #8A244D #808A24 #248A61
split-complementary
#2E248A #8A6124 #4D8A24
monochromatic
#0E0B29 #1E1759 #2E248A #3E31BB #6256D3

Accessibility & contrast

On white

12.10
#2E248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E248A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E248A#FFFFFF#000000##FFFFFF
##2E248A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e248a;
/* rgb */ color: rgb(46, 36, 138);
/* oklch */ color: oklch(34.8% 0.161 278.4);
Tailwind
colors: {
  custom: {
    50: '#7460ad',
    500: '#2e248a',
    950: '#000000',
  },
}
SCSS
$custom: #2e248a;
$custom-light: #7460ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e248a",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 245.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.1605,
    "h": 278.4
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#2E248A
secondary
#ADB753
accent
#E246D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E248A

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

Preview Lab → · Contrast checker → · Palette generator →

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