#0F1F55#0F1F55

#0F1F55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.100 H 266.7°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#0F1F55
RGBrgb(15, 31, 85)
HSLhsl(226, 70%, 20%)
HSVhsv(226, 82%, 33%)
CMYKcmyk(82.4%, 63.5%, 0%, 66.7%)
CIE-LABlab(14.04, 15.67, -34.69)
CIE-LCHlch(14.04, 38.07, 294.31°)
OKLaboklab(26.49% -0.0058 -0.1002)
OKLCHoklch(26.49% 0.1 266.7)
XYZxyz(2.3261, 1.7372, 8.8053)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F55 #55450F
analogous
#0F4255 #0F1F55 #220F55
triadic
#0F1F55 #550F1F #1F550F
tetradic
#0F1F55 #550F42 #55450F #0F5522
square
#0F1F55 #550F42 #55450F #0F5522
split-complementary
#0F1F55 #55220F #42550F
monochromatic
#05091A #060C21 #0F1F55 #183289 #2145BD

Accessibility & contrast

On white

15.59
#0F1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1F55
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F55#FFFFFF#000000##FFFFFF
##0F1F551.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1f55;
/* rgb */ color: rgb(15, 31, 85);
/* oklch */ color: oklch(26.5% 0.100 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5a85',
    500: '#0f1f55',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f55;
$custom-light: #5a5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f55",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 226.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.10033,
    "h": 266.7
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#0F1F55
secondary
#8F7931
accent
#C43BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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