#0F1845#0F1845

#0F1845 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.085 H 269.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#0F1845
RGBrgb(15, 24, 69)
HSLhsl(230, 64%, 16%)
HSVhsv(230, 78%, 27%)
CMYKcmyk(78.3%, 65.2%, 0%, 72.9%)
CIE-LABlab(10.44, 14.10, -29.55)
CIE-LCHlch(10.44, 32.74, 295.52°)
OKLaboklab(23.34% -0.0001 -0.0852)
OKLCHoklch(23.34% 0.085 269.9)
XYZxyz(1.5974, 1.1843, 5.7735)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1845 #453C0F
analogous
#0F3345 #0F1845 #210F45
triadic
#0F1845 #450F18 #18450F
tetradic
#0F1845 #450F33 #453C0F #0F4521
square
#0F1845 #450F33 #453C0F #0F4521
split-complementary
#0F1845 #45210F #33450F
monochromatic
#050919 #050919 #0F1845 #1A2977 #253BAA

Accessibility & contrast

On white

16.98
#0F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1845
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1845#FFFFFF#000000##FFFFFF
##0F18451.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1845;
/* rgb */ color: rgb(15, 24, 69);
/* oklch */ color: oklch(23.3% 0.085 269.9);
Tailwind
colors: {
  custom: {
    50: '#565479',
    500: '#0f1845',
    950: '#000000',
  },
}
SCSS
$custom: #0f1845;
$custom-light: #565479;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1845",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 230,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23337,
    "c": 0.08517,
    "h": 269.9
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#0F1845
secondary
#7F7230
accent
#CB41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1845

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

Preview Lab → · Contrast checker → · Palette generator →

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