#0F1B58#0F1B58

#0F1B58 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.110 H 268.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#0F1B58
RGBrgb(15, 27, 88)
HSLhsl(230, 71%, 20%)
HSVhsv(230, 83%, 35%)
CMYKcmyk(83%, 69.3%, 0%, 65.5%)
CIE-LABlab(13.17, 19.94, -38.15)
CIE-LCHlch(13.17, 43.04, 297.59°)
OKLaboklab(25.93% -0.0028 -0.1103)
OKLCHoklch(25.93% 0.11 268.5)
XYZxyz(2.3498, 1.5897, 9.4136)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B58 #584C0F
analogous
#0F3F58 #0F1B58 #270F58
triadic
#0F1B58 #580F1B #1B580F
tetradic
#0F1B58 #580F3F #584C0F #0F5827
square
#0F1B58 #580F3F #584C0F #0F5827
split-complementary
#0F1B58 #58270F #3F580F
monochromatic
#04081A #060B24 #0F1B58 #182B8C #213BC1

Accessibility & contrast

On white

15.93
#0F1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B58
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B58#FFFFFF#000000##FFFFFF
##0F1B581.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1b58;
/* rgb */ color: rgb(15, 27, 88);
/* oklch */ color: oklch(25.9% 0.110 268.5);
Tailwind
colors: {
  custom: {
    50: '#5b5788',
    500: '#0f1b58',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b58;
$custom-light: #5b5788;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b58",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 230.137,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25928,
    "c": 0.11039,
    "h": 268.5
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#0F1B58
secondary
#928231
accent
#D03AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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