#0F1656#0F1656

#0F1656 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.114 H 270.3°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#0F1656
RGBrgb(15, 22, 86)
HSLhsl(234, 70%, 20%)
HSVhsv(234, 83%, 34%)
CMYKcmyk(82.6%, 74.4%, 0%, 66.3%)
CIE-LABlab(11.60, 22.73, -39.37)
CIE-LCHlch(11.60, 45.46, 300.00°)
OKLaboklab(24.72% 0.0005 -0.1139)
OKLCHoklch(24.72% 0.114 270.3)
XYZxyz(2.1631, 1.3470, 8.9483)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1656 #564F0F
analogous
#0F3956 #0F1656 #2C0F56
triadic
#0F1656 #560F16 #16560F
tetradic
#0F1656 #560F39 #564F0F #0F562C
square
#0F1656 #560F39 #564F0F #0F562C
split-complementary
#0F1656 #562C0F #39560F
monochromatic
#05071A #060922 #0F1656 #18238A #2131BE

Accessibility & contrast

On white

16.54
#0F1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1656
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1656#FFFFFF#000000##FFFFFF
##0F16561.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1656;
/* rgb */ color: rgb(15, 22, 86);
/* oklch */ color: oklch(24.7% 0.114 270.3);
Tailwind
colors: {
  custom: {
    50: '#5b5386',
    500: '#0f1656',
    950: '#000000',
  },
}
SCSS
$custom: #0f1656;
$custom-light: #5b5386;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1656",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 234.085,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24719,
    "c": 0.11395,
    "h": 270.3
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#0F1656
secondary
#908631
accent
#DB3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1656

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

Preview Lab → · Contrast checker → · Palette generator →

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