#0F143E#0F143E

#0F143E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 272.7°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#0F143E
RGBrgb(15, 20, 62)
HSLhsl(234, 61%, 15%)
HSVhsv(234, 76%, 24%)
CMYKcmyk(75.8%, 67.7%, 0%, 75.7%)
CIE-LABlab(8.56, 14.19, -27.66)
CIE-LCHlch(8.56, 31.09, 297.17°)
OKLaboklab(21.74% 0.0038 -0.0797)
OKLCHoklch(21.74% 0.08 272.7)
XYZxyz(1.3164, 0.9496, 4.6704)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F143E #3E390F
analogous
#0F2B3E #0F143E #210F3E
triadic
#0F143E #3E0F14 #143E0F
tetradic
#0F143E #3E0F2B #3E390F #0F3E21
square
#0F143E #3E0F2B #3E390F #0F3E21
split-complementary
#0F143E #3E210F #2B3E0F
monochromatic
#060819 #060819 #0F143E #1B246F #2734A1

Accessibility & contrast

On white

17.65
#0F143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F143E
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F143E#FFFFFF#000000##FFFFFF
##0F143E1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f143e;
/* rgb */ color: rgb(15, 20, 62);
/* oklch */ color: oklch(21.7% 0.080 272.7);
Tailwind
colors: {
  custom: {
    50: '#545174',
    500: '#0f143e',
    950: '#000000',
  },
}
SCSS
$custom: #0f143e;
$custom-light: #545174;
$custom-dark: #000000;
JSON
{
  "hex": "#0f143e",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 233.617,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21735,
    "c": 0.07976,
    "h": 272.7
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#0F143E
secondary
#787130
accent
#D344E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F143E

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

Preview Lab → · Contrast checker → · Palette generator →

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