#0E2140#0E2140

#0E2140 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.1% C 0.064 H 259.7°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#0E2140
RGBrgb(14, 33, 64)
HSLhsl(217, 64%, 15%)
HSVhsv(217, 78%, 25%)
CMYKcmyk(78.1%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.93, 4.77, -22.04)
CIE-LCHlch(12.93, 22.55, 282.21°)
OKLaboklab(25.08% -0.0114 -0.0629)
OKLCHoklch(25.08% 0.064 259.7)
XYZxyz(1.6500, 1.5511, 5.0619)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2140 #402D0E
analogous
#0E3A40 #0E2140 #140E40
triadic
#0E2140 #400E21 #21400E
tetradic
#0E2140 #400E3A #402D0E #0E4014
square
#0E2140 #400E3A #402D0E #0E4014
split-complementary
#0E2140 #40140E #3A400E
monochromatic
#050D19 #050D19 #0E2140 #193B72 #2455A4

Accessibility & contrast

On white

16.03
#0E2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0E2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2140
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2140#FFFFFF#000000##FFFFFF
##0E21401.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#0A1F3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e2140;
/* rgb */ color: rgb(14, 33, 64);
/* oklch */ color: oklch(25.1% 0.064 259.7);
Tailwind
colors: {
  custom: {
    50: '#545b75',
    500: '#0e2140',
    950: '#000000',
  },
}
SCSS
$custom: #0e2140;
$custom-light: #545b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2140",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 217.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25084,
    "c": 0.06396,
    "h": 259.7
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#0E2140
secondary
#7B5E2F
accent
#A841E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0E2140

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

Preview Lab → · Contrast checker → · Palette generator →

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