#0F193D#0F193D

#0F193D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.070 H 268.6°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0F193D
RGBrgb(15, 25, 61)
HSLhsl(227, 61%, 15%)
HSVhsv(227, 75%, 24%)
CMYKcmyk(75.4%, 59%, 0%, 76.1%)
CIE-LABlab(10.06, 9.85, -24.52)
CIE-LCHlch(10.06, 26.43, 291.89°)
OKLaboklab(22.83% -0.0017 -0.0704)
OKLCHoklch(22.83% 0.07 268.6)
XYZxyz(1.3866, 1.1336, 4.5597)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193D #3D330F
analogous
#0F303D #0F193D #1C0F3D
triadic
#0F193D #3D0F19 #193D0F
tetradic
#0F193D #3D0F30 #3D330F #0F3D1C
square
#0F193D #3D0F30 #3D330F #0F3D1C
split-complementary
#0F193D #3D1C0F #303D0F
monochromatic
#060A19 #060A19 #0F193D #1B2D6E #27419F

Accessibility & contrast

On white

17.12
#0F193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F193D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193D#FFFFFF#000000##FFFFFF
##0F193D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f193d;
/* rgb */ color: rgb(15, 25, 61);
/* oklch */ color: oklch(22.8% 0.070 268.6);
Tailwind
colors: {
  custom: {
    50: '#545573',
    500: '#0f193d',
    950: '#000000',
  },
}
SCSS
$custom: #0f193d;
$custom-light: #545573;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193d",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 226.957,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22828,
    "c": 0.07039,
    "h": 268.6
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#0F193D
secondary
#776830
accent
#C144E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F193D

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

Preview Lab → · Contrast checker → · Palette generator →

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