#0E1B52#0E1B52

#0E1B52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.102 H 267.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#0E1B52
RGBrgb(14, 27, 82)
HSLhsl(229, 71%, 19%)
HSVhsv(229, 83%, 32%)
CMYKcmyk(82.9%, 67.1%, 0%, 67.8%)
CIE-LABlab(12.52, 17.27, -35.14)
CIE-LCHlch(12.52, 39.16, 296.17°)
OKLaboklab(25.25% -0.0037 -0.1016)
OKLCHoklch(25.25% 0.102 267.9)
XYZxyz(2.0955, 1.4862, 8.1574)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B52 #52450E
analogous
#0E3D52 #0E1B52 #230E52
triadic
#0E1B52 #520E1B #1B520E
tetradic
#0E1B52 #520E3D #52450E #0E5223
square
#0E1B52 #520E3D #52450E #0E5223
split-complementary
#0E1B52 #52230E #3D520E
monochromatic
#04091A #050A1E #0E1B52 #172C86 #203DBB

Accessibility & contrast

On white

16.19
#0E1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0E1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1B52
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B52#FFFFFF#000000##FFFFFF
##0E1B521.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e1b52;
/* rgb */ color: rgb(14, 27, 82);
/* oklch */ color: oklch(25.3% 0.102 267.9);
Tailwind
colors: {
  custom: {
    50: '#595783',
    500: '#0e1b52',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b52;
$custom-light: #595783;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b52",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 228.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25252,
    "c": 0.10164,
    "h": 267.9
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#0E1B52
secondary
#8C7B2F
accent
#CB3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1B52

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

Preview Lab → · Contrast checker → · Palette generator →

#0E1B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva