#0F1F50#0F1F50

#0F1F50 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.093 H 266.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0F1F50
RGBrgb(15, 31, 80)
HSLhsl(225, 68%, 19%)
HSVhsv(225, 81%, 31%)
CMYKcmyk(81.3%, 61.2%, 0%, 68.6%)
CIE-LABlab(13.59, 13.50, -32.02)
CIE-LCHlch(13.59, 34.75, 292.86°)
OKLaboklab(26.01% -0.006 -0.0923)
OKLCHoklch(26.01% 0.093 266.3)
XYZxyz(2.1344, 1.6605, 7.7959)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1F50 #50400F
analogous
#0F3F50 #0F1F50 #1F0F50
triadic
#0F1F50 #500F1F #1F500F
tetradic
#0F1F50 #500F3F #50400F #0F501F
square
#0F1F50 #500F3F #50400F #0F501F
split-complementary
#0F1F50 #501F0F #3F500F
monochromatic
#050A1A #050B1C #0F1F50 #193384 #2247B7

Accessibility & contrast

On white

15.76
#0F1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1F50
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1F50#FFFFFF#000000##FFFFFF
##0F1F501.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1f50;
/* rgb */ color: rgb(15, 31, 80);
/* oklch */ color: oklch(26.0% 0.093 266.3);
Tailwind
colors: {
  custom: {
    50: '#595a82',
    500: '#0f1f50',
    950: '#000000',
  },
}
SCSS
$custom: #0f1f50;
$custom-light: #595a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1f50",
  "rgb": {
    "r": 15,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 225.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2601,
    "c": 0.09253,
    "h": 266.3
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#0F1F50
secondary
#8A7431
accent
#C03DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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