#2E368E#2E368E

#2E368E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.144 H 273.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E368E
RGBrgb(46, 54, 142)
HSLhsl(235, 51%, 37%)
HSVhsv(235, 68%, 56%)
CMYKcmyk(67.6%, 62%, 0%, 44.3%)
CIE-LABlab(27.22, 26.51, -49.88)
CIE-LCHlch(27.22, 56.49, 297.99°)
OKLaboklab(38.31% 0.0088 -0.1437)
OKLCHoklch(38.31% 0.144 273.5)
XYZxyz(7.3267, 5.1715, 26.1980)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368E #8E862E
analogous
#2E668E #2E368E #562E8E
triadic
#2E368E #8E2E36 #368E2E
tetradic
#2E368E #8E2E66 #8E862E #2E8E56
square
#2E368E #8E2E66 #8E862E #2E8E56
split-complementary
#2E368E #8E562E #668E2E
monochromatic
#101332 #1F2460 #2E368E #3D48BC #6871CE

Accessibility & contrast

On white

10.32
#2E368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E368E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368E#FFFFFF#000000##FFFFFF
##2E368E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e368e;
/* rgb */ color: rgb(46, 54, 142);
/* oklch */ color: oklch(38.3% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#736db0',
    500: '#2e368e',
    950: '#000000',
  },
}
SCSS
$custom: #2e368e;
$custom-light: #736db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368e",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 235,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.14399,
    "h": 273.5
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#2E368E
secondary
#B5AE63
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E368E

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

Preview Lab → · Contrast checker → · Palette generator →

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