#0E1B40#0E1B40

#0E1B40 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.073 H 266.3°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#0E1B40
RGBrgb(14, 27, 64)
HSLhsl(224, 64%, 15%)
HSVhsv(224, 78%, 25%)
CMYKcmyk(78.1%, 57.8%, 0%, 74.9%)
CIE-LABlab(10.90, 9.41, -25.29)
CIE-LCHlch(10.90, 26.99, 290.41°)
OKLaboklab(23.53% -0.0047 -0.0726)
OKLCHoklch(23.53% 0.073 266.3)
XYZxyz(1.4981, 1.2472, 5.0113)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B40 #40330E
analogous
#0E3440 #0E1B40 #1A0E40
triadic
#0E1B40 #400E1B #1B400E
tetradic
#0E1B40 #400E34 #40330E #0E401A
square
#0E1B40 #400E34 #40330E #0E401A
split-complementary
#0E1B40 #401A0E #34400E
monochromatic
#050B19 #050B19 #0E1B40 #193072 #2445A4

Accessibility & contrast

On white

16.81
#0E1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0E1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1B40
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B40#FFFFFF#000000##FFFFFF
##0E1B401.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062041
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0e1b40;
/* rgb */ color: rgb(14, 27, 64);
/* oklch */ color: oklch(23.5% 0.073 266.3);
Tailwind
colors: {
  custom: {
    50: '#545675',
    500: '#0e1b40',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b40;
$custom-light: #545675;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b40",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 224.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23529,
    "c": 0.07277,
    "h": 266.3
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#0E1B40
secondary
#7B672F
accent
#BC41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0E1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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