#0F1A50#0F1A50

#0F1A50 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.100 H 268.9°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#0F1A50
RGBrgb(15, 26, 80)
HSLhsl(230, 68%, 19%)
HSVhsv(230, 81%, 31%)
CMYKcmyk(81.3%, 67.5%, 0%, 68.6%)
CIE-LABlab(12.09, 17.30, -34.48)
CIE-LCHlch(12.09, 38.58, 296.64°)
OKLaboklab(24.88% -0.0018 -0.0996)
OKLCHoklch(24.88% 0.1 268.9)
XYZxyz(2.0139, 1.4193, 7.7557)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A50 #50450F
analogous
#0F3A50 #0F1A50 #240F50
triadic
#0F1A50 #500F1A #1A500F
tetradic
#0F1A50 #500F3A #50450F #0F5024
square
#0F1A50 #500F3A #50450F #0F5024
split-complementary
#0F1A50 #50240F #3A500F
monochromatic
#05081A #05091C #0F1A50 #192B84 #223BB7

Accessibility & contrast

On white

16.36
#0F1A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A50
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A50#FFFFFF#000000##FFFFFF
##0F1A501.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1a50;
/* rgb */ color: rgb(15, 26, 80);
/* oklch */ color: oklch(24.9% 0.100 268.9);
Tailwind
colors: {
  custom: {
    50: '#595682',
    500: '#0f1a50',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a50;
$custom-light: #595682;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a50",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 229.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24884,
    "c": 0.09964,
    "h": 268.9
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#0F1A50
secondary
#8A7B31
accent
#CE3DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A50

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

Preview Lab → · Contrast checker → · Palette generator →

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