#0F193C#0F193C

#0F193C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.069 H 268.5°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#0F193C
RGBrgb(15, 25, 60)
HSLhsl(227, 60%, 15%)
HSVhsv(227, 75%, 24%)
CMYKcmyk(75%, 58.3%, 0%, 76.5%)
CIE-LABlab(9.98, 9.42, -23.95)
CIE-LCHlch(9.98, 25.73, 291.48°)
OKLaboklab(22.74% -0.0018 -0.0687)
OKLCHoklch(22.74% 0.069 268.5)
XYZxyz(1.3600, 1.1229, 4.4192)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193C #3C320F
analogous
#0F303C #0F193C #1C0F3C
triadic
#0F193C #3C0F19 #193C0F
tetradic
#0F193C #3C0F30 #3C320F #0F3C1C
square
#0F193C #3C0F30 #3C320F #0F3C1C
split-complementary
#0F193C #3C1C0F #303C0F
monochromatic
#060A18 #060A18 #0F193C #1B2D6D #27429E

Accessibility & contrast

On white

17.15
#0F193C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F193C
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193C#FFFFFF#000000##FFFFFF
##0F193C1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f193c;
/* rgb */ color: rgb(15, 25, 60);
/* oklch */ color: oklch(22.7% 0.069 268.5);
Tailwind
colors: {
  custom: {
    50: '#535572',
    500: '#0f193c',
    950: '#000000',
  },
}
SCSS
$custom: #0f193c;
$custom-light: #535572;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193c",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 60
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22739,
    "c": 0.06869,
    "h": 268.5
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#0F193C
secondary
#766730
accent
#C045E3
background
#F5F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030308
muted
#78787B

Preview Lab

Preview with #0F193C

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

Preview Lab → · Contrast checker → · Palette generator →

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