#0F1950#0F1950

#0F1950 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.101 H 269.4°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#0F1950
RGBrgb(15, 25, 80)
HSLhsl(231, 68%, 19%)
HSVhsv(231, 81%, 31%)
CMYKcmyk(81.3%, 68.8%, 0%, 68.6%)
CIE-LABlab(11.80, 18.05, -34.96)
CIE-LCHlch(11.80, 39.34, 297.31°)
OKLaboklab(24.67% -0.0011 -0.101)
OKLCHoklch(24.67% 0.101 269.4)
XYZxyz(1.9921, 1.3758, 7.7484)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1950 #50460F
analogous
#0F3950 #0F1950 #250F50
triadic
#0F1950 #500F19 #19500F
tetradic
#0F1950 #500F39 #50460F #0F5025
square
#0F1950 #500F39 #50460F #0F5025
split-complementary
#0F1950 #50250F #39500F
monochromatic
#05081A #05091C #0F1950 #192984 #2239B7

Accessibility & contrast

On white

16.47
#0F1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1950
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1950#FFFFFF#000000##FFFFFF
##0F19501.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.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: #0f1950;
/* rgb */ color: rgb(15, 25, 80);
/* oklch */ color: oklch(24.7% 0.101 269.4);
Tailwind
colors: {
  custom: {
    50: '#595582',
    500: '#0f1950',
    950: '#000000',
  },
}
SCSS
$custom: #0f1950;
$custom-light: #595582;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1950",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 230.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2467,
    "c": 0.10104,
    "h": 269.4
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#0F1950
secondary
#8A7C31
accent
#D03DEB
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1950

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

Preview Lab → · Contrast checker → · Palette generator →

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