#0F1E47#0F1E47

#0F1E47 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.080 H 265.7°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#0F1E47
RGBrgb(15, 30, 71)
HSLhsl(224, 65%, 17%)
HSVhsv(224, 79%, 28%)
CMYKcmyk(78.9%, 57.7%, 0%, 72.2%)
CIE-LABlab(12.51, 10.33, -27.59)
CIE-LCHlch(12.51, 29.46, 290.54°)
OKLaboklab(24.95% -0.0059 -0.0793)
OKLCHoklch(24.95% 0.08 265.7)
XYZxyz(1.7982, 1.4849, 6.1519)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E47 #47380F
analogous
#0F3A47 #0F1E47 #1C0F47
triadic
#0F1E47 #470F1E #1E470F
tetradic
#0F1E47 #470F3A #47380F #0F471C
square
#0F1E47 #470F3A #47380F #0F471C
split-complementary
#0F1E47 #471C0F #3A470F
monochromatic
#050B19 #050B19 #0F1E47 #1A337A #2449AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F1E47#FFFFFF#000000##FFFFFF
##0F1E471.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)
#052348
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1e47;
/* rgb */ color: rgb(15, 30, 71);
/* oklch */ color: oklch(24.9% 0.080 265.7);
Tailwind
colors: {
  custom: {
    50: '#56597a',
    500: '#0f1e47',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e47;
$custom-light: #56597a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e47",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 223.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2495,
    "c": 0.07951,
    "h": 265.7
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#0F1E47
secondary
#816C30
accent
#BB40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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