#2E398F#2E398F

#2E398F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.141 H 272.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E398F
RGBrgb(46, 57, 143)
HSLhsl(233, 51%, 37%)
HSVhsv(233, 68%, 56%)
CMYKcmyk(67.8%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.09, 24.87, -49.08)
CIE-LCHlch(28.09, 55.02, 296.87°)
OKLaboklab(38.98% 0.0061 -0.1413)
OKLCHoklch(38.98% 0.141 272.5)
XYZxyz(7.5461, 5.4896, 26.6432)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E398F #8F842E
analogous
#2E6A8F #2E398F #542E8F
triadic
#2E398F #8F2E39 #398F2E
tetradic
#2E398F #8F2E6A #8F842E #2E8F54
square
#2E398F #8F2E6A #8F842E #2E8F54
split-complementary
#2E398F #8F542E #6A8F2E
monochromatic
#101432 #1F2761 #2E398F #3D4BBD #6974CF

Accessibility & contrast

On white

10.01
#2E398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E398F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E398F#FFFFFF#000000##FFFFFF
##2E398F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e398f;
/* rgb */ color: rgb(46, 57, 143);
/* oklch */ color: oklch(39.0% 0.141 272.5);
Tailwind
colors: {
  custom: {
    50: '#736fb0',
    500: '#2e398f',
    950: '#000000',
  },
}
SCSS
$custom: #2e398f;
$custom-light: #736fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e398f",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 233.196,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.14148,
    "h": 272.5
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#2E398F
secondary
#B6AC63
accent
#CB4DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E398F

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

Preview Lab → · Contrast checker → · Palette generator →

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