#0F144C#0F144C

#0F144C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.102 H 271.6°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#0F144C
RGBrgb(15, 20, 76)
HSLhsl(235, 67%, 18%)
HSVhsv(235, 80%, 30%)
CMYKcmyk(80.3%, 73.7%, 0%, 70.2%)
CIE-LABlab(9.98, 20.07, -35.18)
CIE-LCHlch(9.98, 40.50, 299.71°)
OKLaboklab(23.21% 0.0029 -0.1017)
OKLCHoklch(23.21% 0.102 271.6)
XYZxyz(1.7512, 1.1235, 6.9606)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F144C #4C470F
analogous
#0F324C #0F144C #280F4C
triadic
#0F144C #4C0F14 #144C0F
tetradic
#0F144C #4C0F32 #4C470F #0F4C28
square
#0F144C #4C0F32 #4C470F #0F4C28
split-complementary
#0F144C #4C280F #324C0F
monochromatic
#05071A #05071A #0F144C #19217F #232FB2

Accessibility & contrast

On white

17.15
#0F144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F144C
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F144C#FFFFFF#000000##FFFFFF
##0F144C1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f144c;
/* rgb */ color: rgb(15, 20, 76);
/* oklch */ color: oklch(23.2% 0.102 271.6);
Tailwind
colors: {
  custom: {
    50: '#59517f',
    500: '#0f144c',
    950: '#000000',
  },
}
SCSS
$custom: #0f144c;
$custom-light: #59517f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f144c",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 235.082,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23213,
    "c": 0.10175,
    "h": 271.6
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#0F144C
secondary
#867F31
accent
#DC3EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F144C

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

Preview Lab → · Contrast checker → · Palette generator →

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