#0F193B#0F193B

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

Color values

HEX#0F193B
RGBrgb(15, 25, 59)
HSLhsl(226, 59%, 15%)
HSVhsv(226, 75%, 23%)
CMYKcmyk(74.6%, 57.6%, 0%, 76.9%)
CIE-LABlab(9.90, 8.98, -23.36)
CIE-LCHlch(9.90, 25.03, 291.03°)
OKLaboklab(22.65% -0.002 -0.0669)
OKLCHoklch(22.65% 0.067 268.3)
XYZxyz(1.3338, 1.1125, 4.2813)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193B #3B310F
analogous
#0F2F3B #0F193B #1B0F3B
triadic
#0F193B #3B0F19 #193B0F
tetradic
#0F193B #3B0F2F #3B310F #0F3B1B
square
#0F193B #3B0F2F #3B310F #0F3B1B
split-complementary
#0F193B #3B1B0F #2F3B0F
monochromatic
#060A18 #060A18 #0F193B #1B2E6C #28429D

Accessibility & contrast

On white

17.18
#0F193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F193B
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193B#FFFFFF#000000##FFFFFF
##0F193B1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f193b;
/* rgb */ color: rgb(15, 25, 59);
/* oklch */ color: oklch(22.7% 0.067 268.3);
Tailwind
colors: {
  custom: {
    50: '#535571',
    500: '#0f193b',
    950: '#000000',
  },
}
SCSS
$custom: #0f193b;
$custom-light: #535571;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193b",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 226.364,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22652,
    "c": 0.06698,
    "h": 268.3
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#0F193B
secondary
#756630
accent
#BF45E3
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030307
muted
#78787A

Preview Lab

Preview with #0F193B

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

Preview Lab → · Contrast checker → · Palette generator →

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