#0F1850#0F1850

#0F1850 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.102 H 269.8°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#0F1850
RGBrgb(15, 24, 80)
HSLhsl(232, 68%, 19%)
HSVhsv(232, 81%, 31%)
CMYKcmyk(81.3%, 70%, 0%, 68.6%)
CIE-LABlab(11.51, 18.79, -35.42)
CIE-LCHlch(11.51, 40.10, 297.95°)
OKLaboklab(24.46% -0.0003 -0.1024)
OKLCHoklch(24.46% 0.102 269.8)
XYZxyz(1.9711, 1.3338, 7.7414)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1850 #50470F
analogous
#0F3850 #0F1850 #260F50
triadic
#0F1850 #500F18 #18500F
tetradic
#0F1850 #500F38 #50470F #0F5026
square
#0F1850 #500F38 #50470F #0F5026
split-complementary
#0F1850 #50260F #38500F
monochromatic
#05081A #05091C #0F1850 #192784 #2237B7

Accessibility & contrast

On white

16.58
#0F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1850
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1850#FFFFFF#000000##FFFFFF
##0F18501.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001C4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1850;
/* rgb */ color: rgb(15, 24, 80);
/* oklch */ color: oklch(24.5% 0.102 269.8);
Tailwind
colors: {
  custom: {
    50: '#595482',
    500: '#0f1850',
    950: '#000000',
  },
}
SCSS
$custom: #0f1850;
$custom-light: #595482;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1850",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 231.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24459,
    "c": 0.10241,
    "h": 269.8
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#0F1850
secondary
#8A7E31
accent
#D33DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1850

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

Preview Lab → · Contrast checker → · Palette generator →

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