#0F1A5B#0F1A5B

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

Color values

HEX#0F1A5B
RGBrgb(15, 26, 91)
HSLhsl(231, 72%, 21%)
HSVhsv(231, 84%, 36%)
CMYKcmyk(83.5%, 71.4%, 0%, 64.3%)
CIE-LABlab(13.20, 21.91, -40.11)
CIE-LCHlch(13.20, 45.70, 298.65°)
OKLaboklab(26.05% -0.0024 -0.1161)
OKLCHoklch(26.05% 0.116 268.8)
XYZxyz(2.4541, 1.5954, 10.0741)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A5B #5B500F
analogous
#0F405B #0F1A5B #2A0F5B
triadic
#0F1A5B #5B0F1A #1A5B0F
tetradic
#0F1A5B #5B0F40 #5B500F #0F5B2A
square
#0F1A5B #5B0F40 #5B500F #0F5B2A
split-complementary
#0F1A5B #5B2A0F #405B0F
monochromatic
#04081A #060B26 #0F1A5B #182990 #2038C4

Accessibility & contrast

On white

15.92
#0F1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A5B
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A5B#FFFFFF#000000##FFFFFF
##0F1A5B1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1a5b;
/* rgb */ color: rgb(15, 26, 91);
/* oklch */ color: oklch(26.0% 0.116 268.8);
Tailwind
colors: {
  custom: {
    50: '#5c568a',
    500: '#0f1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a5b;
$custom-light: #5c568a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a5b",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 231.316,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26048,
    "c": 0.11612,
    "h": 268.8
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#0F1A5B
secondary
#958631
accent
#D439EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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