#2E368D#2E368D

#2E368D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.143 H 273.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E368D
RGBrgb(46, 54, 141)
HSLhsl(235, 51%, 37%)
HSVhsv(235, 67%, 55%)
CMYKcmyk(67.4%, 61.7%, 0%, 44.7%)
CIE-LABlab(27.13, 26.14, -49.40)
CIE-LCHlch(27.13, 55.89, 297.89°)
OKLaboklab(38.22% 0.0088 -0.1423)
OKLCHoklch(38.22% 0.143 273.5)
XYZxyz(7.2520, 5.1416, 25.8044)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368D #8D852E
analogous
#2E668D #2E368D #562E8D
triadic
#2E368D #8D2E36 #368D2E
tetradic
#2E368D #8D2E66 #8D852E #2E8D56
square
#2E368D #8D2E66 #8D852E #2E8D56
split-complementary
#2E368D #8D562E #668D2E
monochromatic
#101331 #1F245F #2E368D #3D48BB #6870CE

Accessibility & contrast

On white

10.35
#2E368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E368D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368D#FFFFFF#000000##FFFFFF
##2E368D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e368d;
/* rgb */ color: rgb(46, 54, 141);
/* oklch */ color: oklch(38.2% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#736daf',
    500: '#2e368d',
    950: '#000000',
  },
}
SCSS
$custom: #2e368d;
$custom-light: #736daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368d",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 234.947,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.14258,
    "h": 273.5
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#2E368D
secondary
#B5AE62
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E368D

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

Preview Lab → · Contrast checker → · Palette generator →

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