#0F124F#0F124F

#0F124F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.109 H 272.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0F124F
RGBrgb(15, 18, 79)
HSLhsl(237, 68%, 18%)
HSVhsv(237, 81%, 31%)
CMYKcmyk(81%, 77.2%, 0%, 69%)
CIE-LABlab(9.79, 22.72, -37.57)
CIE-LCHlch(9.79, 43.90, 301.16°)
OKLaboklab(23.17% 0.0039 -0.1087)
OKLCHoklch(23.17% 0.109 272)
XYZxyz(1.8241, 1.0985, 7.5115)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F124F #4F4C0F
analogous
#0F324F #0F124F #2C0F4F
triadic
#0F124F #4F0F12 #124F0F
tetradic
#0F124F #4F0F32 #4F4C0F #0F4F2C
square
#0F124F #4F0F32 #4F4C0F #0F4F2C
split-complementary
#0F124F #4F2C0F #324F0F
monochromatic
#05061A #05061C #0F124F #191E82 #2329B6

Accessibility & contrast

On white

17.22
#0F124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F124F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F124F#FFFFFF#000000##FFFFFF
##0F124F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f124f;
/* rgb */ color: rgb(15, 18, 79);
/* oklch */ color: oklch(23.2% 0.109 272.0);
Tailwind
colors: {
  custom: {
    50: '#5a5081',
    500: '#0f124f',
    950: '#000000',
  },
}
SCSS
$custom: #0f124f;
$custom-light: #5a5081;
$custom-dark: #000000;
JSON
{
  "hex": "#0f124f",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 237.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23173,
    "c": 0.10877,
    "h": 272
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#0F124F
secondary
#898531
accent
#E33DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F124F

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

Preview Lab → · Contrast checker → · Palette generator →

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