#0F1D55#0F1D55

#0F1D55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.103 H 267.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0F1D55
RGBrgb(15, 29, 85)
HSLhsl(228, 70%, 20%)
HSVhsv(228, 82%, 33%)
CMYKcmyk(82.4%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.45, 17.18, -35.66)
CIE-LCHlch(13.45, 39.58, 295.72°)
OKLaboklab(26.04% -0.0042 -0.103)
OKLCHoklch(26.04% 0.103 267.7)
XYZxyz(2.2755, 1.6359, 8.7884)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D55 #55470F
analogous
#0F4055 #0F1D55 #240F55
triadic
#0F1D55 #550F1D #1D550F
tetradic
#0F1D55 #550F40 #55470F #0F5524
square
#0F1D55 #550F40 #55470F #0F5524
split-complementary
#0F1D55 #55240F #40550F
monochromatic
#05091A #060B21 #0F1D55 #182F89 #2140BD

Accessibility & contrast

On white

15.82
#0F1D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D55
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D55#FFFFFF#000000##FFFFFF
##0F1D551.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1d55;
/* rgb */ color: rgb(15, 29, 85);
/* oklch */ color: oklch(26.0% 0.103 267.7);
Tailwind
colors: {
  custom: {
    50: '#5a5885',
    500: '#0f1d55',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d55;
$custom-light: #5a5885;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d55",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 228,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26043,
    "c": 0.10314,
    "h": 267.7
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#0F1D55
secondary
#8F7C31
accent
#C93BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1D55

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

Preview Lab → · Contrast checker → · Palette generator →

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