#0E1F48#0E1F48

#0E1F48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.080 H 264.4°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#0E1F48
RGBrgb(14, 31, 72)
HSLhsl(222, 67%, 17%)
HSVhsv(222, 81%, 28%)
CMYKcmyk(80.6%, 56.9%, 0%, 71.8%)
CIE-LABlab(12.87, 9.84, -27.71)
CIE-LCHlch(12.87, 29.40, 289.55°)
OKLaboklab(25.23% -0.0078 -0.0796)
OKLCHoklch(25.23% 0.08 264.4)
XYZxyz(1.8404, 1.5410, 6.3301)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F48 #48370E
analogous
#0E3C48 #0E1F48 #1A0E48
triadic
#0E1F48 #480E1F #1F480E
tetradic
#0E1F48 #480E3C #48370E #0E481A
square
#0E1F48 #480E3C #48370E #0E481A
split-complementary
#0E1F48 #481A0E #3C480E
monochromatic
#050B1A #050B1A #0E1F48 #18357B #224BAE

Accessibility & contrast

On white

16.05
#0E1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1F48
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F48#FFFFFF#000000##FFFFFF
##0E1F481.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e1f48;
/* rgb */ color: rgb(14, 31, 72);
/* oklch */ color: oklch(25.2% 0.080 264.4);
Tailwind
colors: {
  custom: {
    50: '#565a7b',
    500: '#0e1f48',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f48;
$custom-light: #565a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f48",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 222.414,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25231,
    "c": 0.08003,
    "h": 264.4
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#0E1F48
secondary
#836A2F
accent
#B83DEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0E1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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