#0F1958#0F1958

#0F1958 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.113 H 269.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#0F1958
RGBrgb(15, 25, 88)
HSLhsl(232, 71%, 20%)
HSVhsv(232, 83%, 35%)
CMYKcmyk(83%, 71.6%, 0%, 65.5%)
CIE-LABlab(12.62, 21.40, -39.05)
CIE-LCHlch(12.62, 44.53, 298.72°)
OKLaboklab(25.52% -0.0015 -0.113)
OKLCHoklch(25.52% 0.113 269.2)
XYZxyz(2.3055, 1.5011, 9.3989)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1958 #584E0F
analogous
#0F3D58 #0F1958 #2A0F58
triadic
#0F1958 #580F19 #19580F
tetradic
#0F1958 #580F3D #584E0F #0F582A
square
#0F1958 #580F3D #584E0F #0F582A
split-complementary
#0F1958 #582A0F #3D580F
monochromatic
#04071A #060A24 #0F1958 #18288C #2137C1

Accessibility & contrast

On white

16.15
#0F1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1958
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1958#FFFFFF#000000##FFFFFF
##0F19581.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1958;
/* rgb */ color: rgb(15, 25, 88);
/* oklch */ color: oklch(25.5% 0.113 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5588',
    500: '#0f1958',
    950: '#000000',
  },
}
SCSS
$custom: #0f1958;
$custom-light: #5c5588;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1958",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 231.781,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25523,
    "c": 0.11303,
    "h": 269.2
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#0F1958
secondary
#928431
accent
#D53AEE
background
#F5F4F8
surface
#E9E8F0
border
#C5C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #0F1958

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

Preview Lab → · Contrast checker → · Palette generator →

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