#0F1946#0F1946

#0F1946 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.085 H 269.3°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#0F1946
RGBrgb(15, 25, 70)
HSLhsl(229, 65%, 17%)
HSVhsv(229, 79%, 27%)
CMYKcmyk(78.6%, 64.3%, 0%, 72.5%)
CIE-LABlab(10.84, 13.76, -29.60)
CIE-LCHlch(10.84, 32.64, 294.94°)
OKLaboklab(23.66% -0.001 -0.0853)
OKLCHoklch(23.66% 0.085 269.3)
XYZxyz(1.6497, 1.2389, 5.9453)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1946 #463C0F
analogous
#0F3546 #0F1946 #210F46
triadic
#0F1946 #460F19 #19460F
tetradic
#0F1946 #460F35 #463C0F #0F4621
square
#0F1946 #460F35 #463C0F #0F4621
split-complementary
#0F1946 #46210F #35460F
monochromatic
#050919 #050919 #0F1946 #1A2B78 #253DAB

Accessibility & contrast

On white

16.83
#0F1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1946
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1946#FFFFFF#000000##FFFFFF
##0F19461.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1946;
/* rgb */ color: rgb(15, 25, 70);
/* oklch */ color: oklch(23.7% 0.085 269.3);
Tailwind
colors: {
  custom: {
    50: '#56557a',
    500: '#0f1946',
    950: '#000000',
  },
}
SCSS
$custom: #0f1946;
$custom-light: #56557a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1946",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 229.091,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23664,
    "c": 0.08531,
    "h": 269.3
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#0F1946
secondary
#807230
accent
#C940E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1946

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

Preview Lab → · Contrast checker → · Palette generator →

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