#2E237E#2E237E

#2E237E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.146 H 280.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2E237E
RGBrgb(46, 35, 126)
HSLhsl(247, 57%, 32%)
HSVhsv(247, 72%, 49%)
CMYKcmyk(63.5%, 72.2%, 0%, 50.6%)
CIE-LABlab(21.17, 33.11, -49.76)
CIE-LCHlch(21.17, 59.77, 303.64°)
OKLaboklab(33.46% 0.0266 -0.1434)
OKLCHoklch(33.46% 0.146 280.5)
XYZxyz(5.4925, 3.2889, 20.0800)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E237E #737E23
analogous
#23467E #2E237E #5C237E
triadic
#2E237E #7E2E23 #237E2E
tetradic
#2E237E #7E2346 #737E23 #237E5C
square
#2E237E #7E2346 #737E23 #237E5C
split-complementary
#2E237E #7E5C23 #467E23
monochromatic
#0B081E #1D164E #2E237E #3F30AE #5D4ECE

Accessibility & contrast

On white

12.67
#2E237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E237E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E237E#FFFFFF#000000##FFFFFF
##2E237E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e237e;
/* rgb */ color: rgb(46, 35, 126);
/* oklch */ color: oklch(33.5% 0.146 280.5);
Tailwind
colors: {
  custom: {
    50: '#715fa4',
    500: '#2e237e',
    950: '#000000',
  },
}
SCSS
$custom: #2e237e;
$custom-light: #715fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e237e",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 247.253,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3346,
    "c": 0.14589,
    "h": 280.5
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#2E237E
secondary
#A4B04C
accent
#E048CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E237E

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

Preview Lab → · Contrast checker → · Palette generator →

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