#0F143D#0F143D

#0F143D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.078 H 272.8°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0F143D
RGBrgb(15, 20, 61)
HSLhsl(233, 61%, 15%)
HSVhsv(233, 75%, 24%)
CMYKcmyk(75.4%, 67.2%, 0%, 76.1%)
CIE-LABlab(8.47, 13.77, -27.10)
CIE-LCHlch(8.47, 30.39, 296.94°)
OKLaboklab(21.64% 0.0038 -0.078)
OKLCHoklch(21.64% 0.078 272.8)
XYZxyz(1.2892, 0.9387, 4.5272)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F143D #3D380F
analogous
#0F2B3D #0F143D #210F3D
triadic
#0F143D #3D0F14 #143D0F
tetradic
#0F143D #3D0F2B #3D380F #0F3D21
square
#0F143D #3D0F2B #3D380F #0F3D21
split-complementary
#0F143D #3D210F #2B3D0F
monochromatic
#060819 #060819 #0F143D #1B246E #27349F

Accessibility & contrast

On white

17.68
#0F143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F143D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F143D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F143D#FFFFFF#000000##FFFFFF
##0F143D1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f143d;
/* rgb */ color: rgb(15, 20, 61);
/* oklch */ color: oklch(21.6% 0.078 272.8);
Tailwind
colors: {
  custom: {
    50: '#545173',
    500: '#0f143d',
    950: '#000000',
  },
}
SCSS
$custom: #0f143d;
$custom-light: #545173;
$custom-dark: #000000;
JSON
{
  "hex": "#0f143d",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 233.478,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21636,
    "c": 0.07811,
    "h": 272.8
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#0F143D
secondary
#777030
accent
#D244E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F143D

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

Preview Lab → · Contrast checker → · Palette generator →

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