#2E3473#2E3473

#2E3473 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.107 H 275.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3473
RGBrgb(46, 52, 115)
HSLhsl(235, 43%, 32%)
HSVhsv(235, 60%, 45%)
CMYKcmyk(60%, 54.8%, 0%, 54.9%)
CIE-LABlab(24.56, 17.97, -37.25)
CIE-LCHlch(24.56, 41.35, 295.75°)
OKLaboklab(35.66% 0.0102 -0.1066)
OKLCHoklch(35.66% 0.107 275.5)
XYZxyz(5.4482, 4.2742, 16.7542)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3473 #736D2E
analogous
#2E5773 #2E3473 #4B2E73
triadic
#2E3473 #732E34 #34732E
tetradic
#2E3473 #732E57 #736D2E #2E734B
square
#2E3473 #732E57 #736D2E #2E734B
split-complementary
#2E3473 #734B2E #57732E
monochromatic
#0B0C1C #1D2047 #2E3473 #3F489F #5D66BE

Accessibility & contrast

On white

11.32
#2E3473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E3473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3473
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3473#FFFFFF#000000##FFFFFF
##2E34731.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#023872
Tritanopia (blue-blind)
#03424E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3473;
/* rgb */ color: rgb(46, 52, 115);
/* oklch */ color: oklch(35.7% 0.107 275.5);
Tailwind
colors: {
  custom: {
    50: '#6e6b9c',
    500: '#2e3473',
    950: '#000000',
  },
}
SCSS
$custom: #2e3473;
$custom-light: #6e6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3473",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 234.783,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.10708,
    "h": 275.5
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#2E3473
secondary
#A49E58
accent
#C855D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E3473

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

Preview Lab → · Contrast checker → · Palette generator →

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