#0F1250#0F1250

#0F1250 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.110 H 271.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#0F1250
RGBrgb(15, 18, 80)
HSLhsl(237, 68%, 19%)
HSVhsv(237, 81%, 31%)
CMYKcmyk(81.3%, 77.5%, 0%, 68.6%)
CIE-LABlab(9.90, 23.12, -38.07)
CIE-LCHlch(9.90, 44.54, 301.27°)
OKLaboklab(23.29% 0.0037 -0.1101)
OKLCHoklch(23.29% 0.11 271.9)
XYZxyz(1.8608, 1.1132, 7.7047)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1250 #504D0F
analogous
#0F3250 #0F1250 #2C0F50
triadic
#0F1250 #500F12 #12500F
tetradic
#0F1250 #500F32 #504D0F #0F502C
square
#0F1250 #500F32 #504D0F #0F502C
split-complementary
#0F1250 #502C0F #32500F
monochromatic
#05061A #05061C #0F1250 #191E84 #2229B7

Accessibility & contrast

On white

17.18
#0F1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1250
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1250#FFFFFF#000000##FFFFFF
##0F12501.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1250;
/* rgb */ color: rgb(15, 18, 80);
/* oklch */ color: oklch(23.3% 0.110 271.9);
Tailwind
colors: {
  custom: {
    50: '#5a5082',
    500: '#0f1250',
    950: '#000000',
  },
}
SCSS
$custom: #0f1250;
$custom-light: #5a5082;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1250",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 237.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2329,
    "c": 0.11021,
    "h": 271.9
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#0F1250
secondary
#8A8631
accent
#E33DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1250

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

Preview Lab → · Contrast checker → · Palette generator →

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