#0F1945#0F1945

#0F1945 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.084 H 269.3°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#0F1945
RGBrgb(15, 25, 69)
HSLhsl(229, 64%, 16%)
HSVhsv(229, 78%, 27%)
CMYKcmyk(78.3%, 63.8%, 0%, 72.9%)
CIE-LABlab(10.75, 13.33, -29.05)
CIE-LCHlch(10.75, 31.96, 294.65°)
OKLaboklab(23.57% -0.0011 -0.0837)
OKLCHoklch(23.57% 0.084 269.3)
XYZxyz(1.6184, 1.2263, 5.7805)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1945 #453B0F
analogous
#0F3445 #0F1945 #200F45
triadic
#0F1945 #450F19 #19450F
tetradic
#0F1945 #450F34 #453B0F #0F4520
square
#0F1945 #450F34 #453B0F #0F4520
split-complementary
#0F1945 #45200F #34450F
monochromatic
#050919 #050919 #0F1945 #1A2B77 #253DAA

Accessibility & contrast

On white

16.86
#0F1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1945
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1945#FFFFFF#000000##FFFFFF
##0F19451.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1945;
/* rgb */ color: rgb(15, 25, 69);
/* oklch */ color: oklch(23.6% 0.084 269.3);
Tailwind
colors: {
  custom: {
    50: '#565579',
    500: '#0f1945',
    950: '#000000',
  },
}
SCSS
$custom: #0f1945;
$custom-light: #565579;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1945",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 228.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23568,
    "c": 0.08369,
    "h": 269.3
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#0F1945
secondary
#7F7130
accent
#C841E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1945

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

Preview Lab → · Contrast checker → · Palette generator →

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