#0F144F#0F144F

#0F144F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.106 H 271.4°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#0F144F
RGBrgb(15, 20, 79)
HSLhsl(235, 68%, 18%)
HSVhsv(235, 81%, 31%)
CMYKcmyk(81%, 74.7%, 0%, 69%)
CIE-LABlab(10.31, 21.30, -36.71)
CIE-LCHlch(10.31, 42.45, 300.13°)
OKLaboklab(23.55% 0.0026 -0.1062)
OKLCHoklch(23.55% 0.106 271.4)
XYZxyz(1.8580, 1.1662, 7.5228)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F144F #4F4A0F
analogous
#0F344F #0F144F #2A0F4F
triadic
#0F144F #4F0F14 #144F0F
tetradic
#0F144F #4F0F34 #4F4A0F #0F4F2A
square
#0F144F #4F0F34 #4F4A0F #0F4F2A
split-complementary
#0F144F #4F2A0F #344F0F
monochromatic
#05071A #05071C #0F144F #192182 #232EB6

Accessibility & contrast

On white

17.03
#0F144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F144F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F144F#FFFFFF#000000##FFFFFF
##0F144F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f144f;
/* rgb */ color: rgb(15, 20, 79);
/* oklch */ color: oklch(23.5% 0.106 271.4);
Tailwind
colors: {
  custom: {
    50: '#595181',
    500: '#0f144f',
    950: '#000000',
  },
}
SCSS
$custom: #0f144f;
$custom-light: #595181;
$custom-dark: #000000;
JSON
{
  "hex": "#0f144f",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 235.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23548,
    "c": 0.10623,
    "h": 271.4
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#0F144F
secondary
#898231
accent
#DD3DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F144F

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

Preview Lab → · Contrast checker → · Palette generator →

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