#2E398E#2E398E

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

Color values

HEX#2E398E
RGBrgb(46, 57, 142)
HSLhsl(233, 51%, 37%)
HSVhsv(233, 68%, 56%)
CMYKcmyk(67.6%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.01, 24.50, -48.60)
CIE-LCHlch(28.01, 54.43, 296.75°)
OKLaboklab(38.9% 0.0061 -0.1399)
OKLCHoklch(38.9% 0.14 272.5)
XYZxyz(7.4707, 5.4594, 26.2460)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E398E #8E832E
analogous
#2E698E #2E398E #532E8E
triadic
#2E398E #8E2E39 #398E2E
tetradic
#2E398E #8E2E69 #8E832E #2E8E53
square
#2E398E #8E2E69 #8E832E #2E8E53
split-complementary
#2E398E #8E532E #698E2E
monochromatic
#101432 #1F2660 #2E398E #3D4CBC #6874CE

Accessibility & contrast

On white

10.04
#2E398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E398E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E398E#FFFFFF#000000##FFFFFF
##2E398E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e398e;
/* rgb */ color: rgb(46, 57, 142);
/* oklch */ color: oklch(38.9% 0.140 272.5);
Tailwind
colors: {
  custom: {
    50: '#736fb0',
    500: '#2e398e',
    950: '#000000',
  },
}
SCSS
$custom: #2e398e;
$custom-light: #736fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e398e",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 233.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.14006,
    "h": 272.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#2E398E
secondary
#B5AC63
accent
#CA4DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E398E

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

Preview Lab → · Contrast checker → · Palette generator →

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