#2E387F#2E387F

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

Color values

HEX#2E387F
RGBrgb(46, 56, 127)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 64%, 50%)
CMYKcmyk(63.8%, 55.9%, 0%, 50.2%)
CIE-LABlab(26.57, 19.63, -41.60)
CIE-LCHlch(26.57, 46.00, 295.26°)
OKLaboklab(37.45% 0.0066 -0.1193)
OKLCHoklch(37.45% 0.12 273.2)
XYZxyz(6.3704, 4.9410, 20.6926)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E387F #7F752E
analogous
#2E617F #2E387F #4D2E7F
triadic
#2E387F #7F2E38 #387F2E
tetradic
#2E387F #7F2E61 #7F752E #2E7F4D
square
#2E387F #7F2E61 #7F752E #2E7F4D
split-complementary
#2E387F #7F4D2E #617F2E
monochromatic
#0D1025 #1E2452 #2E387F #3E4CAC #616EC6

Accessibility & contrast

On white

10.56
#2E387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E387F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E387F#FFFFFF#000000##FFFFFF
##2E387F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e387f;
/* rgb */ color: rgb(46, 56, 127);
/* oklch */ color: oklch(37.5% 0.120 273.2);
Tailwind
colors: {
  custom: {
    50: '#706ea5',
    500: '#2e387f',
    950: '#000000',
  },
}
SCSS
$custom: #2e387f;
$custom-light: #706ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e387f",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 232.593,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.11953,
    "h": 273.2
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#2E387F
secondary
#ADA35C
accent
#C651D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E387F

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

Preview Lab → · Contrast checker → · Palette generator →

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