#2E439E#2E439E

#2E439E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.150 H 269.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2E439E
RGBrgb(46, 67, 158)
HSLhsl(229, 55%, 40%)
HSVhsv(229, 71%, 62%)
CMYKcmyk(70.9%, 57.6%, 0%, 38%)
CIE-LABlab(31.95, 23.75, -51.96)
CIE-LCHlch(31.95, 57.13, 294.56°)
OKLaboklab(42.24% -0.0022 -0.1497)
OKLCHoklch(42.24% 0.15 269.2)
XYZxyz(9.3033, 7.0629, 33.2141)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E439E #9E892E
analogous
#2E7B9E #2E439E #512E9E
triadic
#2E439E #9E2E43 #439E2E
tetradic
#2E439E #9E2E7B #9E892E #2E9E51
square
#2E439E #9E2E7B #9E892E #2E9E51
split-complementary
#2E439E #9E512E #7B9E2E
monochromatic
#121B3F #202F6F #2E439E #415BC8 #7184D6

Accessibility & contrast

On white

8.70
#2E439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E439E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E439E#FFFFFF#000000##FFFFFF
##2E439E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e439e;
/* rgb */ color: rgb(46, 67, 158);
/* oklch */ color: oklch(42.2% 0.150 269.2);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2e439e',
    950: '#000000',
  },
}
SCSS
$custom: #2e439e;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e439e",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 228.75,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.14971,
    "h": 269.2
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#2E439E
secondary
#BDAE6B
accent
#C24ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2E439E

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

Preview Lab → · Contrast checker → · Palette generator →

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