#0F153E#0F153E

#0F153E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.078 H 272.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#0F153E
RGBrgb(15, 21, 62)
HSLhsl(232, 61%, 15%)
HSVhsv(232, 76%, 24%)
CMYKcmyk(75.8%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.87, 13.42, -27.16)
CIE-LCHlch(8.87, 30.29, 296.29°)
OKLaboklab(21.96% 0.0027 -0.0782)
OKLCHoklch(21.96% 0.078 272)
XYZxyz(1.3344, 0.9856, 4.6764)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F153E #3E380F
analogous
#0F2D3E #0F153E #200F3E
triadic
#0F153E #3E0F15 #153E0F
tetradic
#0F153E #3E0F2D #3E380F #0F3E20
square
#0F153E #3E0F2D #3E380F #0F3E20
split-complementary
#0F153E #3E200F #2D3E0F
monochromatic
#060819 #060819 #0F153E #1B266F #2736A1

Accessibility & contrast

On white

17.54
#0F153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F153E
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F153E#FFFFFF#000000##FFFFFF
##0F153E1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f153e;
/* rgb */ color: rgb(15, 21, 62);
/* oklch */ color: oklch(22.0% 0.078 272.0);
Tailwind
colors: {
  custom: {
    50: '#545274',
    500: '#0f153e',
    950: '#000000',
  },
}
SCSS
$custom: #0f153e;
$custom-light: #545274;
$custom-dark: #000000;
JSON
{
  "hex": "#0f153e",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 232.34,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21963,
    "c": 0.07824,
    "h": 272
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#0F153E
secondary
#786F30
accent
#D044E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F153E

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

Preview Lab → · Contrast checker → · Palette generator →

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