#0F1C50#0F1C50

#0F1C50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.097 H 268.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#0F1C50
RGBrgb(15, 28, 80)
HSLhsl(228, 68%, 19%)
HSVhsv(228, 81%, 31%)
CMYKcmyk(81.3%, 65%, 0%, 68.6%)
CIE-LABlab(12.68, 15.79, -33.52)
CIE-LCHlch(12.68, 37.05, 295.22°)
OKLaboklab(25.32% -0.0035 -0.0968)
OKLCHoklch(25.32% 0.097 268)
XYZxyz(2.0597, 1.5110, 7.7710)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C50 #50430F
analogous
#0F3C50 #0F1C50 #220F50
triadic
#0F1C50 #500F1C #1C500F
tetradic
#0F1C50 #500F3C #50430F #0F5022
square
#0F1C50 #500F3C #50430F #0F5022
split-complementary
#0F1C50 #50220F #3C500F
monochromatic
#05091A #050A1C #0F1C50 #192E84 #2240B7

Accessibility & contrast

On white

16.13
#0F1C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1C50
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C50#FFFFFF#000000##FFFFFF
##0F1C501.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1c50;
/* rgb */ color: rgb(15, 28, 80);
/* oklch */ color: oklch(25.3% 0.097 268.0);
Tailwind
colors: {
  custom: {
    50: '#595782',
    500: '#0f1c50',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c50;
$custom-light: #595782;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c50",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 228,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25324,
    "c": 0.09682,
    "h": 268
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#0F1C50
secondary
#8A7831
accent
#C83DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1C50

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

Preview Lab → · Contrast checker → · Palette generator →

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