#0E1B4E#0E1B4E

#0E1B4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.095 H 267.8°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0E1B4E
RGBrgb(14, 27, 78)
HSLhsl(228, 70%, 18%)
HSVhsv(228, 82%, 31%)
CMYKcmyk(82.1%, 65.4%, 0%, 69.4%)
CIE-LABlab(12.14, 15.54, -33.03)
CIE-LCHlch(12.14, 36.50, 295.20°)
OKLaboklab(24.85% -0.0037 -0.0954)
OKLCHoklch(24.85% 0.095 267.8)
XYZxyz(1.9477, 1.4271, 7.3791)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B4E #4E410E
analogous
#0E3B4E #0E1B4E #210E4E
triadic
#0E1B4E #4E0E1B #1B4E0E
tetradic
#0E1B4E #4E0E3B #4E410E #0E4E21
square
#0E1B4E #4E0E3B #4E410E #0E4E21
split-complementary
#0E1B4E #4E210E #3B4E0E
monochromatic
#05091A #05091A #0E1B4E #172D82 #213FB6

Accessibility & contrast

On white

16.34
#0E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0E1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1B4E
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B4E#FFFFFF#000000##FFFFFF
##0E1B4E1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0e1b4e;
/* rgb */ color: rgb(14, 27, 78);
/* oklch */ color: oklch(24.8% 0.095 267.8);
Tailwind
colors: {
  custom: {
    50: '#585680',
    500: '#0e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b4e;
$custom-light: #585680;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b4e",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 227.813,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24848,
    "c": 0.09544,
    "h": 267.8
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#0E1B4E
secondary
#89762F
accent
#C83BEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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