#0F1956#0F1956

#0F1956 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.110 H 269.3°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#0F1956
RGBrgb(15, 25, 86)
HSLhsl(232, 70%, 20%)
HSVhsv(232, 83%, 34%)
CMYKcmyk(82.6%, 70.9%, 0%, 66.3%)
CIE-LABlab(12.41, 20.57, -38.04)
CIE-LCHlch(12.41, 43.25, 298.39°)
OKLaboklab(25.31% -0.0014 -0.1101)
OKLCHoklch(25.31% 0.11 269.3)
XYZxyz(2.2238, 1.4685, 8.9685)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1956 #564C0F
analogous
#0F3D56 #0F1956 #280F56
triadic
#0F1956 #560F19 #19560F
tetradic
#0F1956 #560F3D #564C0F #0F5628
square
#0F1956 #560F3D #564C0F #0F5628
split-complementary
#0F1956 #56280F #3D560F
monochromatic
#05081A #060A22 #0F1956 #18288A #2137BE

Accessibility & contrast

On white

16.23
#0F1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1956
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1956#FFFFFF#000000##FFFFFF
##0F19561.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1956;
/* rgb */ color: rgb(15, 25, 86);
/* oklch */ color: oklch(25.3% 0.110 269.3);
Tailwind
colors: {
  custom: {
    50: '#5b5586',
    500: '#0f1956',
    950: '#000000',
  },
}
SCSS
$custom: #0f1956;
$custom-light: #5b5586;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1956",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 231.549,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25306,
    "c": 0.11008,
    "h": 269.3
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#0F1956
secondary
#908231
accent
#D43BED
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1956

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

Preview Lab → · Contrast checker → · Palette generator →

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