#0F154F#0F154F

#0F154F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.105 H 271.0°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#0F154F
RGBrgb(15, 21, 79)
HSLhsl(234, 68%, 18%)
HSVhsv(234, 81%, 31%)
CMYKcmyk(81%, 73.4%, 0%, 69%)
CIE-LABlab(10.57, 20.58, -36.27)
CIE-LCHlch(10.57, 41.71, 299.57°)
OKLaboklab(23.74% 0.0019 -0.1049)
OKLCHoklch(23.74% 0.105 271)
XYZxyz(1.8760, 1.2022, 7.5288)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154F #4F490F
analogous
#0F354F #0F154F #290F4F
triadic
#0F154F #4F0F15 #154F0F
tetradic
#0F154F #4F0F35 #4F490F #0F4F29
square
#0F154F #4F0F35 #4F490F #0F4F29
split-complementary
#0F154F #4F290F #354F0F
monochromatic
#05071A #05071C #0F154F #192382 #2330B6

Accessibility & contrast

On white

16.93
#0F154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F154F
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154F#FFFFFF#000000##FFFFFF
##0F154F1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f154f;
/* rgb */ color: rgb(15, 21, 79);
/* oklch */ color: oklch(23.7% 0.105 271.0);
Tailwind
colors: {
  custom: {
    50: '#595281',
    500: '#0f154f',
    950: '#000000',
  },
}
SCSS
$custom: #0f154f;
$custom-light: #595281;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154f",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 234.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23743,
    "c": 0.10493,
    "h": 271
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#0F154F
secondary
#898131
accent
#DB3DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154F

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

Preview Lab → · Contrast checker → · Palette generator →

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