#0F1856#0F1856

#0F1856 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.111 H 269.6°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0F1856
RGBrgb(15, 24, 86)
HSLhsl(232, 70%, 20%)
HSVhsv(232, 83%, 34%)
CMYKcmyk(82.6%, 72.1%, 0%, 66.3%)
CIE-LABlab(12.13, 21.29, -38.49)
CIE-LCHlch(12.13, 43.99, 298.95°)
OKLaboklab(25.11% -0.0007 -0.1114)
OKLCHoklch(25.11% 0.111 269.6)
XYZxyz(2.2028, 1.4265, 8.9615)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1856 #564D0F
analogous
#0F3C56 #0F1856 #290F56
triadic
#0F1856 #560F18 #18560F
tetradic
#0F1856 #560F3C #564D0F #0F5629
square
#0F1856 #560F3C #564D0F #0F5629
split-complementary
#0F1856 #56290F #3C560F
monochromatic
#05071A #060922 #0F1856 #18278A #2135BE

Accessibility & contrast

On white

16.34
#0F1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1856
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1856#FFFFFF#000000##FFFFFF
##0F18561.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1856;
/* rgb */ color: rgb(15, 24, 86);
/* oklch */ color: oklch(25.1% 0.111 269.6);
Tailwind
colors: {
  custom: {
    50: '#5b5486',
    500: '#0f1856',
    950: '#000000',
  },
}
SCSS
$custom: #0f1856;
$custom-light: #5b5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1856",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 232.394,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25106,
    "c": 0.11138,
    "h": 269.6
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#0F1856
secondary
#908431
accent
#D63BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1856

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

Preview Lab → · Contrast checker → · Palette generator →

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