#0F1A5D#0F1A5D

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

Color values

HEX#0F1A5D
RGBrgb(15, 26, 93)
HSLhsl(232, 72%, 21%)
HSVhsv(232, 84%, 36%)
CMYKcmyk(83.9%, 72%, 0%, 63.5%)
CIE-LABlab(13.41, 22.73, -41.10)
CIE-LCHlch(13.41, 46.97, 298.94°)
OKLaboklab(26.27% -0.0025 -0.119)
OKLCHoklch(26.27% 0.119 268.8)
XYZxyz(2.5415, 1.6304, 10.5346)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A5D #5D520F
analogous
#0F415D #0F1A5D #2B0F5D
triadic
#0F1A5D #5D0F1A #1A5D0F
tetradic
#0F1A5D #5D0F41 #5D520F #0F5D2B
square
#0F1A5D #5D0F41 #5D520F #0F5D2B
split-complementary
#0F1A5D #5D2B0F #415D0F
monochromatic
#04071A #060B28 #0F1A5D #172992 #2037C6

Accessibility & contrast

On white

15.83
#0F1A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1A5D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A5D#FFFFFF#000000##FFFFFF
##0F1A5D1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1a5d;
/* rgb */ color: rgb(15, 26, 93);
/* oklch */ color: oklch(26.3% 0.119 268.8);
Tailwind
colors: {
  custom: {
    50: '#5d568c',
    500: '#0f1a5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a5d;
$custom-light: #5d568c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a5d",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 231.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26267,
    "c": 0.11903,
    "h": 268.8
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#0F1A5D
secondary
#968831
accent
#D539EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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