#0F143B#0F143B

#0F143B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.075 H 272.9°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#0F143B
RGBrgb(15, 20, 59)
HSLhsl(233, 59%, 15%)
HSVhsv(233, 75%, 23%)
CMYKcmyk(74.6%, 66.1%, 0%, 76.9%)
CIE-LABlab(8.28, 12.91, -25.97)
CIE-LCHlch(8.28, 29.00, 296.44°)
OKLaboklab(21.44% 0.0037 -0.0747)
OKLCHoklch(21.44% 0.075 272.9)
XYZxyz(1.2363, 0.9175, 4.2488)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F143B #3B360F
analogous
#0F2A3B #0F143B #200F3B
triadic
#0F143B #3B0F14 #143B0F
tetradic
#0F143B #3B0F2A #3B360F #0F3B20
square
#0F143B #3B0F2A #3B360F #0F3B20
split-complementary
#0F143B #3B200F #2A3B0F
monochromatic
#060818 #060818 #0F143B #1B256C #28359D

Accessibility & contrast

On white

17.74
#0F143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F143B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F143B
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F143B#FFFFFF#000000##FFFFFF
##0F143B1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f143b;
/* rgb */ color: rgb(15, 20, 59);
/* oklch */ color: oklch(21.4% 0.075 272.9);
Tailwind
colors: {
  custom: {
    50: '#545171',
    500: '#0f143b',
    950: '#000000',
  },
}
SCSS
$custom: #0f143b;
$custom-light: #545171;
$custom-dark: #000000;
JSON
{
  "hex": "#0f143b",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 233.182,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2144,
    "c": 0.07478,
    "h": 272.9
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#0F143B
secondary
#756E30
accent
#D145E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0F143B

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

Preview Lab → · Contrast checker → · Palette generator →

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