#2E388F#2E388F

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

Color values

HEX#2E388F
RGBrgb(46, 56, 143)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(67.8%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.82, 25.54, -49.51)
CIE-LCHlch(27.82, 55.71, 297.29°)
OKLaboklab(38.79% 0.007 -0.1426)
OKLCHoklch(38.79% 0.143 272.8)
XYZxyz(7.4972, 5.3917, 26.6269)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388F #8F852E
analogous
#2E698F #2E388F #542E8F
triadic
#2E388F #8F2E38 #388F2E
tetradic
#2E388F #8F2E69 #8F852E #2E8F54
square
#2E388F #8F2E69 #8F852E #2E8F54
split-complementary
#2E388F #8F542E #698F2E
monochromatic
#101432 #1F2661 #2E388F #3D4ABD #6973CF

Accessibility & contrast

On white

10.10
#2E388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E388F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388F#FFFFFF#000000##FFFFFF
##2E388F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e388f;
/* rgb */ color: rgb(46, 56, 143);
/* oklch */ color: oklch(38.8% 0.143 272.8);
Tailwind
colors: {
  custom: {
    50: '#736eb1',
    500: '#2e388f',
    950: '#000000',
  },
}
SCSS
$custom: #2e388f;
$custom-light: #736eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388f",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 233.814,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.14279,
    "h": 272.8
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#2E388F
secondary
#B6AD63
accent
#CC4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E388F

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

Preview Lab → · Contrast checker → · Palette generator →

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