#0F1658#0F1658

#0F1658 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.117 H 270.1°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#0F1658
RGBrgb(15, 22, 88)
HSLhsl(234, 71%, 20%)
HSVhsv(234, 83%, 35%)
CMYKcmyk(83%, 75%, 0%, 65.5%)
CIE-LABlab(11.82, 23.53, -40.36)
CIE-LCHlch(11.82, 46.72, 300.25°)
OKLaboklab(24.95% 0.0003 -0.1168)
OKLCHoklch(24.95% 0.117 270.1)
XYZxyz(2.2448, 1.3797, 9.3786)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1658 #58510F
analogous
#0F3A58 #0F1658 #2D0F58
triadic
#0F1658 #580F16 #16580F
tetradic
#0F1658 #580F3A #58510F #0F582D
square
#0F1658 #580F3A #58510F #0F582D
split-complementary
#0F1658 #582D0F #3A580F
monochromatic
#04071A #060924 #0F1658 #18238C #2130C1

Accessibility & contrast

On white

16.46
#0F1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1658
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1658#FFFFFF#000000##FFFFFF
##0F16581.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1658;
/* rgb */ color: rgb(15, 22, 88);
/* oklch */ color: oklch(24.9% 0.117 270.1);
Tailwind
colors: {
  custom: {
    50: '#5c5388',
    500: '#0f1658',
    950: '#000000',
  },
}
SCSS
$custom: #0f1658;
$custom-light: #5c5388;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1658",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 234.247,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24946,
    "c": 0.11684,
    "h": 270.1
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#0F1658
secondary
#928831
accent
#DC3AEE
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1658

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

Preview Lab → · Contrast checker → · Palette generator →

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