#0F1952#0F1952

#0F1952 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.104 H 269.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#0F1952
RGBrgb(15, 25, 82)
HSLhsl(231, 69%, 19%)
HSVhsv(231, 82%, 32%)
CMYKcmyk(81.7%, 69.5%, 0%, 67.8%)
CIE-LABlab(12.00, 18.89, -36.00)
CIE-LCHlch(12.00, 40.65, 297.69°)
OKLaboklab(24.88% -0.0012 -0.1041)
OKLCHoklch(24.88% 0.104 269.4)
XYZxyz(2.0671, 1.4058, 8.1434)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1952 #52480F
analogous
#0F3B52 #0F1952 #270F52
triadic
#0F1952 #520F19 #19520F
tetradic
#0F1952 #520F3B #52480F #0F5227
square
#0F1952 #520F3B #52480F #0F5227
split-complementary
#0F1952 #52270F #3B520F
monochromatic
#05081A #06091E #0F1952 #182986 #2239B9

Accessibility & contrast

On white

16.39
#0F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1952
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1952#FFFFFF#000000##FFFFFF
##0F19521.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1952;
/* rgb */ color: rgb(15, 25, 82);
/* oklch */ color: oklch(24.9% 0.104 269.4);
Tailwind
colors: {
  custom: {
    50: '#5a5583',
    500: '#0f1952',
    950: '#000000',
  },
}
SCSS
$custom: #0f1952;
$custom-light: #5a5583;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1952",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 231.045,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24879,
    "c": 0.10408,
    "h": 269.4
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#0F1952
secondary
#8C7E31
accent
#D23CEC
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1952

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

Preview Lab → · Contrast checker → · Palette generator →

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