#0F183D#0F183D

#0F183D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.072 H 269.5°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#0F183D
RGBrgb(15, 24, 61)
HSLhsl(228, 61%, 15%)
HSVhsv(228, 75%, 24%)
CMYKcmyk(75.4%, 60.7%, 0%, 76.1%)
CIE-LABlab(9.73, 10.64, -25.05)
CIE-LCHlch(9.73, 27.22, 293.01°)
OKLaboklab(22.58% -0.0006 -0.0719)
OKLCHoklch(22.58% 0.072 269.5)
XYZxyz(1.3657, 1.0916, 4.5527)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F183D #3D340F
analogous
#0F2F3D #0F183D #1D0F3D
triadic
#0F183D #3D0F18 #183D0F
tetradic
#0F183D #3D0F2F #3D340F #0F3D1D
square
#0F183D #3D0F2F #3D340F #0F3D1D
split-complementary
#0F183D #3D1D0F #2F3D0F
monochromatic
#060A19 #060A19 #0F183D #1B2B6E #273F9F

Accessibility & contrast

On white

17.24
#0F183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F183D
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F183D#FFFFFF#000000##FFFFFF
##0F183D1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f183d;
/* rgb */ color: rgb(15, 24, 61);
/* oklch */ color: oklch(22.6% 0.072 269.5);
Tailwind
colors: {
  custom: {
    50: '#545473',
    500: '#0f183d',
    950: '#000000',
  },
}
SCSS
$custom: #0f183d;
$custom-light: #545473;
$custom-dark: #000000;
JSON
{
  "hex": "#0f183d",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 228.261,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22581,
    "c": 0.07194,
    "h": 269.5
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#0F183D
secondary
#776A30
accent
#C444E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F183D

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

Preview Lab → · Contrast checker → · Palette generator →

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