#2E388E#2E388E

#2E388E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 272.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2E388E
RGBrgb(46, 56, 142)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(67.6%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.74, 25.17, -49.03)
CIE-LCHlch(27.74, 55.11, 297.18°)
OKLaboklab(38.7% 0.007 -0.1412)
OKLCHoklch(38.7% 0.141 272.8)
XYZxyz(7.4217, 5.3615, 26.2297)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388E #8E842E
analogous
#2E688E #2E388E #542E8E
triadic
#2E388E #8E2E38 #388E2E
tetradic
#2E388E #8E2E68 #8E842E #2E8E54
square
#2E388E #8E2E68 #8E842E #2E8E54
split-complementary
#2E388E #8E542E #688E2E
monochromatic
#101432 #1F2660 #2E388E #3D4ABC #6873CE

Accessibility & contrast

On white

10.13
#2E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E388E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388E#FFFFFF#000000##FFFFFF
##2E388E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e388e;
/* rgb */ color: rgb(46, 56, 142);
/* oklch */ color: oklch(38.7% 0.141 272.8);
Tailwind
colors: {
  custom: {
    50: '#736eb0',
    500: '#2e388e',
    950: '#000000',
  },
}
SCSS
$custom: #2e388e;
$custom-light: #736eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388e",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 233.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.387,
    "c": 0.14137,
    "h": 272.8
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#2E388E
secondary
#B5AC63
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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