#2E388C#2E388C

#2E388C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.139 H 272.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2E388C
RGBrgb(46, 56, 140)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(67.1%, 60%, 0%, 45.1%)
CIE-LABlab(27.58, 24.43, -48.06)
CIE-LCHlch(27.58, 53.91, 296.95°)
OKLaboklab(38.53% 0.007 -0.1383)
OKLCHoklch(38.53% 0.139 272.9)
XYZxyz(7.2729, 5.3020, 25.4460)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388C #8C822E
analogous
#2E678C #2E388C #532E8C
triadic
#2E388C #8C2E38 #388C2E
tetradic
#2E388C #8C2E67 #8C822E #2E8C53
square
#2E388C #8C2E67 #8C822E #2E8C53
split-complementary
#2E388C #8C532E #678C2E
monochromatic
#101330 #1F265E #2E388C #3D4ABA #6772CD

Accessibility & contrast

On white

10.19
#2E388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E388C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388C#FFFFFF#000000##FFFFFF
##2E388C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e388c;
/* rgb */ color: rgb(46, 56, 140);
/* oklch */ color: oklch(38.5% 0.139 272.9);
Tailwind
colors: {
  custom: {
    50: '#726eae',
    500: '#2e388c',
    950: '#000000',
  },
}
SCSS
$custom: #2e388c;
$custom-light: #726eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388c",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 233.617,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38528,
    "c": 0.13853,
    "h": 272.9
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#2E388C
secondary
#B4AB62
accent
#CB4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E388C

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

Preview Lab → · Contrast checker → · Palette generator →

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