#0F1A5A#0F1A5A

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

Color values

HEX#0F1A5A
RGBrgb(15, 26, 90)
HSLhsl(231, 71%, 21%)
HSVhsv(231, 83%, 35%)
CMYKcmyk(83.3%, 71.1%, 0%, 64.7%)
CIE-LABlab(13.10, 21.50, -39.61)
CIE-LCHlch(13.10, 45.07, 298.49°)
OKLaboklab(25.94% -0.0023 -0.1146)
OKLCHoklch(25.94% 0.115 268.8)
XYZxyz(2.4112, 1.5783, 9.8484)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A5A #5A4F0F
analogous
#0F3F5A #0F1A5A #290F5A
triadic
#0F1A5A #5A0F1A #1A5A0F
tetradic
#0F1A5A #5A0F3F #5A4F0F #0F5A29
square
#0F1A5A #5A0F3F #5A4F0F #0F5A29
split-complementary
#0F1A5A #5A290F #3F5A0F
monochromatic
#04081A #060B26 #0F1A5A #18298E #2038C3

Accessibility & contrast

On white

15.96
#0F1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A5A
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A5A#FFFFFF#000000##FFFFFF
##0F1A5A1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1a5a;
/* rgb */ color: rgb(15, 26, 90);
/* oklch */ color: oklch(25.9% 0.115 268.8);
Tailwind
colors: {
  custom: {
    50: '#5c5689',
    500: '#0f1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a5a;
$custom-light: #5c5689;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a5a",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 231.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25939,
    "c": 0.11466,
    "h": 268.8
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#0F1A5A
secondary
#948531
accent
#D43AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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