#0F1A55#0F1A55

#0F1A55 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.107 H 268.9°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#0F1A55
RGBrgb(15, 26, 85)
HSLhsl(231, 70%, 20%)
HSVhsv(231, 82%, 33%)
CMYKcmyk(82.4%, 69.4%, 0%, 66.7%)
CIE-LABlab(12.58, 19.41, -37.08)
CIE-LCHlch(12.58, 41.85, 297.64°)
OKLaboklab(25.4% -0.002 -0.1072)
OKLCHoklch(25.4% 0.107 268.9)
XYZxyz(2.2055, 1.4960, 8.7651)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A55 #554A0F
analogous
#0F3D55 #0F1A55 #270F55
triadic
#0F1A55 #550F1A #1A550F
tetradic
#0F1A55 #550F3D #554A0F #0F5527
square
#0F1A55 #550F3D #554A0F #0F5527
split-complementary
#0F1A55 #55270F #3D550F
monochromatic
#05081A #060A21 #0F1A55 #182A89 #213ABD

Accessibility & contrast

On white

16.16
#0F1A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A55
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A55#FFFFFF#000000##FFFFFF
##0F1A551.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1a55;
/* rgb */ color: rgb(15, 26, 85);
/* oklch */ color: oklch(25.4% 0.107 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5686',
    500: '#0f1a55',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a55;
$custom-light: #5b5686;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a55",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 230.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25404,
    "c": 0.10725,
    "h": 268.9
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#0F1A55
secondary
#8F8031
accent
#D13BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1A55

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

Preview Lab → · Contrast checker → · Palette generator →

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