#2E387E#2E387E

#2E387E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.4% C 0.118 H 273.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2E387E
RGBrgb(46, 56, 126)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 63%, 49%)
CMYKcmyk(63.5%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.49, 19.26, -41.09)
CIE-LCHlch(26.49, 45.38, 295.11°)
OKLaboklab(37.37% 0.0066 -0.1178)
OKLCHoklch(37.37% 0.118 273.2)
XYZxyz(6.3055, 4.9150, 20.3510)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E387E #7E742E
analogous
#2E607E #2E387E #4C2E7E
triadic
#2E387E #7E2E38 #387E2E
tetradic
#2E387E #7E2E60 #7E742E #2E7E4C
square
#2E387E #7E2E60 #7E742E #2E7E4C
split-complementary
#2E387E #7E4C2E #607E2E
monochromatic
#0D1024 #1E2451 #2E387E #3E4CAB #616EC5

Accessibility & contrast

On white

10.59
#2E387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E387E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E387E#FFFFFF#000000##FFFFFF
##2E387E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e387e;
/* rgb */ color: rgb(46, 56, 126);
/* oklch */ color: oklch(37.4% 0.118 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ea4',
    500: '#2e387e',
    950: '#000000',
  },
}
SCSS
$custom: #2e387e;
$custom-light: #6f6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e387e",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 232.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.11803,
    "h": 273.2
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#2E387E
secondary
#ACA25C
accent
#C652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E387E

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

Preview Lab → · Contrast checker → · Palette generator →

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