#0F1948#0F1948

#0F1948 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.089 H 269.4°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#0F1948
RGBrgb(15, 25, 72)
HSLhsl(229, 66%, 17%)
HSVhsv(229, 79%, 28%)
CMYKcmyk(79.2%, 65.3%, 0%, 71.8%)
CIE-LABlab(11.02, 14.63, -30.69)
CIE-LCHlch(11.02, 34.00, 295.48°)
OKLaboklab(23.86% -0.001 -0.0885)
OKLCHoklch(23.86% 0.089 269.4)
XYZxyz(1.7139, 1.2645, 6.2834)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1948 #483E0F
analogous
#0F3648 #0F1948 #220F48
triadic
#0F1948 #480F19 #19480F
tetradic
#0F1948 #480F36 #483E0F #0F4822
square
#0F1948 #480F36 #483E0F #0F4822
split-complementary
#0F1948 #48220F #36480F
monochromatic
#050919 #050919 #0F1948 #1A2B7B #243CAD

Accessibility & contrast

On white

16.76
#0F1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1948
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1948#FFFFFF#000000##FFFFFF
##0F19481.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1948;
/* rgb */ color: rgb(15, 25, 72);
/* oklch */ color: oklch(23.9% 0.089 269.4);
Tailwind
colors: {
  custom: {
    50: '#57557b',
    500: '#0f1948',
    950: '#000000',
  },
}
SCSS
$custom: #0f1948;
$custom-light: #57557b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1948",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 229.474,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23859,
    "c": 0.08852,
    "h": 269.4
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#0F1948
secondary
#827430
accent
#CB3FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1948

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

Preview Lab → · Contrast checker → · Palette generator →

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