#0F1951#0F1951

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

Color values

HEX#0F1951
RGBrgb(15, 25, 81)
HSLhsl(231, 69%, 19%)
HSVhsv(231, 81%, 32%)
CMYKcmyk(81.5%, 69.1%, 0%, 68.2%)
CIE-LABlab(11.90, 18.47, -35.48)
CIE-LCHlch(11.90, 40.00, 297.50°)
OKLaboklab(24.77% -0.0011 -0.1025)
OKLCHoklch(24.77% 0.103 269.4)
XYZxyz(2.0293, 1.3907, 7.9445)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1951 #51470F
analogous
#0F3A51 #0F1951 #260F51
triadic
#0F1951 #510F19 #19510F
tetradic
#0F1951 #510F3A #51470F #0F5126
square
#0F1951 #510F3A #51470F #0F5126
split-complementary
#0F1951 #51260F #3A510F
monochromatic
#05081A #05091D #0F1951 #192985 #2239B8

Accessibility & contrast

On white

16.43
#0F1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1951
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1951#FFFFFF#000000##FFFFFF
##0F19511.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1951;
/* rgb */ color: rgb(15, 25, 81);
/* oklch */ color: oklch(24.8% 0.103 269.4);
Tailwind
colors: {
  custom: {
    50: '#595582',
    500: '#0f1951',
    950: '#000000',
  },
}
SCSS
$custom: #0f1951;
$custom-light: #595582;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1951",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 230.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24774,
    "c": 0.10256,
    "h": 269.4
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#0F1951
secondary
#8B7D31
accent
#D13CEC
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1951

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

Preview Lab → · Contrast checker → · Palette generator →

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