#0F1858#0F1858

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

Color values

HEX#0F1858
RGBrgb(15, 24, 88)
HSLhsl(233, 71%, 20%)
HSVhsv(233, 83%, 35%)
CMYKcmyk(83%, 72.7%, 0%, 65.5%)
CIE-LABlab(12.35, 22.11, -39.49)
CIE-LCHlch(12.35, 45.26, 299.25°)
OKLaboklab(25.33% -0.0009 -0.1143)
OKLCHoklch(25.33% 0.114 269.5)
XYZxyz(2.2845, 1.4592, 9.3919)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1858 #584F0F
analogous
#0F3C58 #0F1858 #2B0F58
triadic
#0F1858 #580F18 #18580F
tetradic
#0F1858 #580F3C #584F0F #0F582B
square
#0F1858 #580F3C #584F0F #0F582B
split-complementary
#0F1858 #582B0F #3C580F
monochromatic
#04071A #060A24 #0F1858 #18268C #2135C1

Accessibility & contrast

On white

16.26
#0F1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1858
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1858#FFFFFF#000000##FFFFFF
##0F18581.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1858;
/* rgb */ color: rgb(15, 24, 88);
/* oklch */ color: oklch(25.3% 0.114 269.5);
Tailwind
colors: {
  custom: {
    50: '#5c5588',
    500: '#0f1858',
    950: '#000000',
  },
}
SCSS
$custom: #0f1858;
$custom-light: #5c5588;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1858",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 232.603,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25326,
    "c": 0.11432,
    "h": 269.5
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#0F1858
secondary
#928631
accent
#D83AEE
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #0F1858

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

Preview Lab → · Contrast checker → · Palette generator →

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