#2E368F#2E368F

#2E368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.145 H 273.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E368F
RGBrgb(46, 54, 143)
HSLhsl(235, 51%, 37%)
HSVhsv(235, 68%, 56%)
CMYKcmyk(67.8%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.30, 26.88, -50.36)
CIE-LCHlch(27.30, 57.08, 298.09°)
OKLaboklab(38.4% 0.0088 -0.1451)
OKLCHoklch(38.4% 0.145 273.4)
XYZxyz(7.4022, 5.2017, 26.5952)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368F #8F872E
analogous
#2E668F #2E368F #572E8F
triadic
#2E368F #8F2E36 #368F2E
tetradic
#2E368F #8F2E66 #8F872E #2E8F57
square
#2E368F #8F2E66 #8F872E #2E8F57
split-complementary
#2E368F #8F572E #668F2E
monochromatic
#101332 #1F2561 #2E368F #3D47BD #6971CF

Accessibility & contrast

On white

10.29
#2E368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E368F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368F#FFFFFF#000000##FFFFFF
##2E368F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e368f;
/* rgb */ color: rgb(46, 54, 143);
/* oklch */ color: oklch(38.4% 0.145 273.4);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2e368f',
    950: '#000000',
  },
}
SCSS
$custom: #2e368f;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368f",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 235.052,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.1454,
    "h": 273.4
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#2E368F
secondary
#B6AF63
accent
#CF4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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