#0F124A#0F124A

#0F124A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.101 H 272.6°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0F124A
RGBrgb(15, 18, 74)
HSLhsl(237, 66%, 17%)
HSVhsv(237, 80%, 29%)
CMYKcmyk(79.7%, 75.7%, 0%, 71%)
CIE-LABlab(9.23, 20.70, -35.03)
CIE-LCHlch(9.23, 40.69, 300.59°)
OKLaboklab(22.6% 0.0046 -0.1013)
OKLCHoklch(22.6% 0.101 272.6)
XYZxyz(1.6489, 1.0284, 6.5888)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F124A #4A470F
analogous
#0F304A #0F124A #290F4A
triadic
#0F124A #4A0F12 #124A0F
tetradic
#0F124A #4A0F30 #4A470F #0F4A29
square
#0F124A #4A0F30 #4A470F #0F4A29
split-complementary
#0F124A #4A290F #304A0F
monochromatic
#050619 #050619 #0F124A #191E7D #242BB0

Accessibility & contrast

On white

17.42
#0F124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F124A
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F124A#FFFFFF#000000##FFFFFF
##0F124A1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f124a;
/* rgb */ color: rgb(15, 18, 74);
/* oklch */ color: oklch(22.6% 0.101 272.6);
Tailwind
colors: {
  custom: {
    50: '#58507d',
    500: '#0f124a',
    950: '#000000',
  },
}
SCSS
$custom: #0f124a;
$custom-light: #58507d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f124a",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 236.949,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.226,
    "c": 0.10138,
    "h": 272.6
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#0F124A
secondary
#848030
accent
#E13FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F124A

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

Preview Lab → · Contrast checker → · Palette generator →

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