#0F154E#0F154E

#0F154E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.103 H 271.1°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#0F154E
RGBrgb(15, 21, 78)
HSLhsl(234, 68%, 18%)
HSVhsv(234, 81%, 31%)
CMYKcmyk(80.8%, 73.1%, 0%, 69.4%)
CIE-LABlab(10.47, 20.17, -35.76)
CIE-LCHlch(10.47, 41.05, 299.42°)
OKLaboklab(23.63% 0.002 -0.1034)
OKLCHoklch(23.63% 0.103 271.1)
XYZxyz(1.8398, 1.1878, 7.3385)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154E #4E480F
analogous
#0F344E #0F154E #280F4E
triadic
#0F154E #4E0F15 #154E0F
tetradic
#0F154E #4E0F34 #4E480F #0F4E28
square
#0F154E #4E0F34 #4E480F #0F4E28
split-complementary
#0F154E #4E280F #344E0F
monochromatic
#05071A #05071B #0F154E #192381 #2331B5

Accessibility & contrast

On white

16.97
#0F154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F154E
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154E#FFFFFF#000000##FFFFFF
##0F154E1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f154e;
/* rgb */ color: rgb(15, 21, 78);
/* oklch */ color: oklch(23.6% 0.103 271.1);
Tailwind
colors: {
  custom: {
    50: '#595280',
    500: '#0f154e',
    950: '#000000',
  },
}
SCSS
$custom: #0f154e;
$custom-light: #595280;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154e",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 234.286,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23632,
    "c": 0.10343,
    "h": 271.1
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#0F154E
secondary
#888031
accent
#DA3DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154E

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

Preview Lab → · Contrast checker → · Palette generator →

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