#0F153B#0F153B

#0F153B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.073 H 272.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0F153B
RGBrgb(15, 21, 59)
HSLhsl(232, 59%, 15%)
HSVhsv(232, 75%, 23%)
CMYKcmyk(74.6%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.60, 12.13, -25.46)
CIE-LCHlch(8.60, 28.20, 295.48°)
OKLaboklab(21.67% 0.0026 -0.0732)
OKLCHoklch(21.67% 0.073 272.1)
XYZxyz(1.2543, 0.9535, 4.2548)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F153B #3B350F
analogous
#0F2B3B #0F153B #1F0F3B
triadic
#0F153B #3B0F15 #153B0F
tetradic
#0F153B #3B0F2B #3B350F #0F3B1F
square
#0F153B #3B0F2B #3B350F #0F3B1F
split-complementary
#0F153B #3B1F0F #2B3B0F
monochromatic
#060918 #060918 #0F153B #1B266C #28389D

Accessibility & contrast

On white

17.64
#0F153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F153B
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F153B#FFFFFF#000000##FFFFFF
##0F153B1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f153b;
/* rgb */ color: rgb(15, 21, 59);
/* oklch */ color: oklch(21.7% 0.073 272.1);
Tailwind
colors: {
  custom: {
    50: '#545171',
    500: '#0f153b',
    950: '#000000',
  },
}
SCSS
$custom: #0f153b;
$custom-light: #545171;
$custom-dark: #000000;
JSON
{
  "hex": "#0f153b",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 231.818,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21674,
    "c": 0.07323,
    "h": 272.1
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#0F153B
secondary
#756C30
accent
#CD45E3
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0F153B

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

Preview Lab → · Contrast checker → · Palette generator →

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