#0F1E58#0F1E58

#0F1E58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.106 H 267.3°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#0F1E58
RGBrgb(15, 30, 88)
HSLhsl(228, 71%, 20%)
HSVhsv(228, 83%, 35%)
CMYKcmyk(83%, 65.9%, 0%, 65.5%)
CIE-LABlab(14.03, 17.71, -36.74)
CIE-LCHlch(14.03, 40.79, 295.74°)
OKLaboklab(26.56% -0.005 -0.1062)
OKLCHoklch(26.56% 0.106 267.3)
XYZxyz(2.4221, 1.7344, 9.4377)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E58 #58490F
analogous
#0F4358 #0F1E58 #240F58
triadic
#0F1E58 #580F1E #1E580F
tetradic
#0F1E58 #580F43 #58490F #0F5824
square
#0F1E58 #580F43 #58490F #0F5824
split-complementary
#0F1E58 #58240F #43580F
monochromatic
#04091A #060C24 #0F1E58 #18308C #2142C1

Accessibility & contrast

On white

15.59
#0F1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E58
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E58#FFFFFF#000000##FFFFFF
##0F1E581.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1e58;
/* rgb */ color: rgb(15, 30, 88);
/* oklch */ color: oklch(26.6% 0.106 267.3);
Tailwind
colors: {
  custom: {
    50: '#5b5988',
    500: '#0f1e58',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e58;
$custom-light: #5b5988;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e58",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 227.671,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26562,
    "c": 0.10632,
    "h": 267.3
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#0F1E58
secondary
#927E31
accent
#C93AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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