#0F1A5E#0F1A5E

#0F1A5E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.120 H 268.8°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#0F1A5E
RGBrgb(15, 26, 94)
HSLhsl(232, 72%, 21%)
HSVhsv(232, 84%, 37%)
CMYKcmyk(84%, 72.3%, 0%, 63.1%)
CIE-LABlab(13.52, 23.14, -41.59)
CIE-LCHlch(13.52, 47.60, 299.09°)
OKLaboklab(26.38% -0.0026 -0.1204)
OKLCHoklch(26.38% 0.12 268.8)
XYZxyz(2.5861, 1.6482, 10.7693)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A5E #5E530F
analogous
#0F425E #0F1A5E #2C0F5E
triadic
#0F1A5E #5E0F1A #1A5E0F
tetradic
#0F1A5E #5E0F42 #5E530F #0F5E2C
square
#0F1A5E #5E0F42 #5E530F #0F5E2C
split-complementary
#0F1A5E #5E2C0F #425E0F
monochromatic
#04071A #070B29 #0F1A5E #172993 #2037C8

Accessibility & contrast

On white

15.79
#0F1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A5E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A5E#FFFFFF#000000##FFFFFF
##0F1A5E1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1a5e;
/* rgb */ color: rgb(15, 26, 94);
/* oklch */ color: oklch(26.4% 0.120 268.8);
Tailwind
colors: {
  custom: {
    50: '#5d568c',
    500: '#0f1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a5e;
$custom-light: #5d568c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a5e",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 231.646,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26377,
    "c": 0.12047,
    "h": 268.8
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#0F1A5E
secondary
#978931
accent
#D639EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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