#0F1D50#0F1D50

#0F1D50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.095 H 267.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0F1D50
RGBrgb(15, 29, 80)
HSLhsl(227, 68%, 19%)
HSVhsv(227, 81%, 31%)
CMYKcmyk(81.3%, 63.7%, 0%, 68.6%)
CIE-LABlab(12.98, 15.03, -33.02)
CIE-LCHlch(12.98, 36.28, 294.47°)
OKLaboklab(25.55% -0.0043 -0.0953)
OKLCHoklch(25.55% 0.095 267.4)
XYZxyz(2.0838, 1.5593, 7.7790)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D50 #50420F
analogous
#0F3D50 #0F1D50 #210F50
triadic
#0F1D50 #500F1D #1D500F
tetradic
#0F1D50 #500F3D #50420F #0F5021
square
#0F1D50 #500F3D #50420F #0F5021
split-complementary
#0F1D50 #50210F #3D500F
monochromatic
#05091A #050A1C #0F1D50 #193084 #2242B7

Accessibility & contrast

On white

16.01
#0F1D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D50
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D50#FFFFFF#000000##FFFFFF
##0F1D501.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1d50;
/* rgb */ color: rgb(15, 29, 80);
/* oklch */ color: oklch(25.5% 0.095 267.4);
Tailwind
colors: {
  custom: {
    50: '#595882',
    500: '#0f1d50',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d50;
$custom-light: #595882;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d50",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 227.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25549,
    "c": 0.0954,
    "h": 267.4
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#0F1D50
secondary
#8A7731
accent
#C63DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1D50

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

Preview Lab → · Contrast checker → · Palette generator →

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