#0F1651#0F1651

#0F1651 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.107 H 270.5°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#0F1651
RGBrgb(15, 22, 81)
HSLhsl(234, 69%, 19%)
HSVhsv(234, 81%, 32%)
CMYKcmyk(81.5%, 72.8%, 0%, 68.2%)
CIE-LABlab(11.06, 20.68, -36.85)
CIE-LCHlch(11.06, 42.26, 299.30°)
OKLaboklab(24.16% 0.001 -0.1066)
OKLCHoklch(24.16% 0.107 270.5)
XYZxyz(1.9686, 1.2692, 7.9242)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1651 #514A0F
analogous
#0F3751 #0F1651 #290F51
triadic
#0F1651 #510F16 #16510F
tetradic
#0F1651 #510F37 #514A0F #0F5129
square
#0F1651 #510F37 #514A0F #0F5129
split-complementary
#0F1651 #51290F #37510F
monochromatic
#05071A #05081D #0F1651 #192485 #2232B8

Accessibility & contrast

On white

16.75
#0F1651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1651
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1651#FFFFFF#000000##FFFFFF
##0F16511.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#001A50
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1651;
/* rgb */ color: rgb(15, 22, 81);
/* oklch */ color: oklch(24.2% 0.107 270.5);
Tailwind
colors: {
  custom: {
    50: '#5a5383',
    500: '#0f1651',
    950: '#000000',
  },
}
SCSS
$custom: #0f1651;
$custom-light: #5a5383;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1651",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 233.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24161,
    "c": 0.10659,
    "h": 270.5
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#0F1651
secondary
#8B8231
accent
#D93CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1651

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

Preview Lab → · Contrast checker → · Palette generator →

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