#2E34B8#2E34B8

#2E34B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.202 H 271.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2E34B8
RGBrgb(46, 52, 184)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 72%)
CMYKcmyk(75%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.63, 42.69, -69.68)
CIE-LCHlch(30.63, 81.72, 301.49°)
OKLaboklab(41.98% 0.0062 -0.2017)
OKLCHoklch(41.98% 0.202 271.8)
XYZxyz(11.0035, 6.4964, 46.0121)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34B8 #B8B22E
analogous
#2E79B8 #2E34B8 #6D2EB8
triadic
#2E34B8 #B82E34 #34B82E
tetradic
#2E34B8 #B82E79 #B8B22E #2EB86D
square
#2E34B8 #B82E79 #B8B22E #2EB86D
split-complementary
#2E34B8 #B86D2E #79B82E
monochromatic
#161856 #222687 #2E34B8 #5056D3 #8185DF

Accessibility & contrast

On white

9.13
#2E34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34B8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34B8#FFFFFF#000000##FFFFFF
##2E34B81.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e34b8;
/* rgb */ color: rgb(46, 52, 184);
/* oklch */ color: oklch(42.0% 0.202 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2e34b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e34b8;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34b8",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 237.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.20178,
    "h": 271.8
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#2E34B8
secondary
#C8C579
accent
#DC45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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