#0F1657#0F1657

#0F1657 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.115 H 270.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0F1657
RGBrgb(15, 22, 87)
HSLhsl(234, 71%, 20%)
HSVhsv(234, 83%, 34%)
CMYKcmyk(82.8%, 74.7%, 0%, 65.9%)
CIE-LABlab(11.71, 23.13, -39.86)
CIE-LCHlch(11.71, 46.09, 300.12°)
OKLaboklab(24.83% 0.0004 -0.1154)
OKLCHoklch(24.83% 0.115 270.2)
XYZxyz(2.2036, 1.3633, 9.1620)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1657 #57500F
analogous
#0F3A57 #0F1657 #2C0F57
triadic
#0F1657 #570F16 #16570F
tetradic
#0F1657 #570F3A #57500F #0F572C
square
#0F1657 #570F3A #57500F #0F572C
split-complementary
#0F1657 #572C0F #3A570F
monochromatic
#05071A #060923 #0F1657 #18238B #2130BF

Accessibility & contrast

On white

16.50
#0F1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1657
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1657#FFFFFF#000000##FFFFFF
##0F16571.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1657;
/* rgb */ color: rgb(15, 22, 87);
/* oklch */ color: oklch(24.8% 0.115 270.2);
Tailwind
colors: {
  custom: {
    50: '#5c5387',
    500: '#0f1657',
    950: '#000000',
  },
}
SCSS
$custom: #0f1657;
$custom-light: #5c5387;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1657",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 234.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24833,
    "c": 0.1154,
    "h": 270.2
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#0F1657
secondary
#918731
accent
#DC3AED
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1657

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

Preview Lab → · Contrast checker → · Palette generator →

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