#0F143A#0F143A

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

Color values

HEX#0F143A
RGBrgb(15, 20, 58)
HSLhsl(233, 59%, 14%)
HSVhsv(233, 74%, 23%)
CMYKcmyk(74.1%, 65.5%, 0%, 77.3%)
CIE-LABlab(8.19, 12.48, -25.40)
CIE-LCHlch(8.19, 28.30, 296.18°)
OKLaboklab(21.34% 0.0037 -0.073)
OKLCHoklch(21.34% 0.073 272.9)
XYZxyz(1.2106, 0.9073, 4.1135)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F143A #3A350F
analogous
#0F2A3A #0F143A #200F3A
triadic
#0F143A #3A0F14 #143A0F
tetradic
#0F143A #3A0F2A #3A350F #0F3A20
square
#0F143A #3A0F2A #3A350F #0F3A20
split-complementary
#0F143A #3A200F #2A3A0F
monochromatic
#060818 #060818 #0F143A #1C256B #28369B

Accessibility & contrast

On white

17.78
#0F143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F143A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F143A#FFFFFF#000000##FFFFFF
##0F143A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f143a;
/* rgb */ color: rgb(15, 20, 58);
/* oklch */ color: oklch(21.3% 0.073 272.9);
Tailwind
colors: {
  custom: {
    50: '#535170',
    500: '#0f143a',
    950: '#000000',
  },
}
SCSS
$custom: #0f143a;
$custom-light: #535170;
$custom-dark: #000000;
JSON
{
  "hex": "#0f143a",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 233.023,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21343,
    "c": 0.07311,
    "h": 272.9
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#0F143A
secondary
#746C30
accent
#D046E2
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #0F143A

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

Preview Lab → · Contrast checker → · Palette generator →

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