#2E387A#2E387A

#2E387A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.112 H 273.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E387A
RGBrgb(46, 56, 122)
HSLhsl(232, 45%, 33%)
HSVhsv(232, 62%, 48%)
CMYKcmyk(62.3%, 54.1%, 0%, 52.2%)
CIE-LABlab(26.20, 17.78, -39.04)
CIE-LCHlch(26.20, 42.90, 294.48°)
OKLaboklab(37.06% 0.0063 -0.1118)
OKLCHoklch(37.06% 0.112 273.2)
XYZxyz(6.0526, 4.8139, 19.0188)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E387A #7A702E
analogous
#2E5E7A #2E387A #4A2E7A
triadic
#2E387A #7A2E38 #387A2E
tetradic
#2E387A #7A2E5E #7A702E #2E7A4A
square
#2E387A #7A2E5E #7A702E #2E7A4A
split-complementary
#2E387A #7A4A2E #5E7A2E
monochromatic
#0C0F21 #1D244E #2E387A #3F4CA6 #606DC3

Accessibility & contrast

On white

10.70
#2E387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E387A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E387A#FFFFFF#000000##FFFFFF
##2E387A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e387a;
/* rgb */ color: rgb(46, 56, 122);
/* oklch */ color: oklch(37.1% 0.112 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ea1',
    500: '#2e387a',
    950: '#000000',
  },
}
SCSS
$custom: #2e387a;
$custom-light: #6f6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e387a",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 232.105,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.11201,
    "h": 273.2
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#2E387A
secondary
#AA9F5A
accent
#C453D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2E387A

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

Preview Lab → · Contrast checker → · Palette generator →

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