#2E247B#2E247B

#2E247B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.141 H 280.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2E247B
RGBrgb(46, 36, 123)
HSLhsl(247, 55%, 31%)
HSVhsv(247, 71%, 48%)
CMYKcmyk(62.6%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.10, 31.47, -47.96)
CIE-LCHlch(21.10, 57.36, 303.28°)
OKLaboklab(33.33% 0.0262 -0.1382)
OKLCHoklch(33.33% 0.141 280.7)
XYZxyz(5.3316, 3.2723, 19.0857)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247B #717B24
analogous
#24457B #2E247B #59247B
triadic
#2E247B #7B2E24 #247B2E
tetradic
#2E247B #7B2445 #717B24 #247B59
square
#2E247B #7B2445 #717B24 #247B59
split-complementary
#2E247B #7B5924 #457B24
monochromatic
#0B081C #1C164C #2E247B #4032AA #5D4ECB

Accessibility & contrast

On white

12.69
#2E247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E247B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247B#FFFFFF#000000##FFFFFF
##2E247B1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e247b;
/* rgb */ color: rgb(46, 36, 123);
/* oklch */ color: oklch(33.3% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#7060a2',
    500: '#2e247b',
    950: '#000000',
  },
}
SCSS
$custom: #2e247b;
$custom-light: #7060a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247b",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 246.897,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.14064,
    "h": 280.7
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#2E247B
secondary
#A2AD4D
accent
#DE4ACD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E247B

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

Preview Lab → · Contrast checker → · Palette generator →

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