#0F193A#0F193A

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

Color values

HEX#0F193A
RGBrgb(15, 25, 58)
HSLhsl(226, 59%, 14%)
HSVhsv(226, 74%, 23%)
CMYKcmyk(74.1%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.82, 8.55, -22.78)
CIE-LCHlch(9.82, 24.33, 290.57°)
OKLaboklab(22.57% -0.0021 -0.0652)
OKLCHoklch(22.57% 0.065 268.2)
XYZxyz(1.3081, 1.1022, 4.1460)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193A #3A300F
analogous
#0F2F3A #0F193A #1B0F3A
triadic
#0F193A #3A0F19 #193A0F
tetradic
#0F193A #3A0F2F #3A300F #0F3A1B
square
#0F193A #3A0F2F #3A300F #0F3A1B
split-complementary
#0F193A #3A1B0F #2F3A0F
monochromatic
#060A18 #060A18 #0F193A #1C2E6B #28439B

Accessibility & contrast

On white

17.21
#0F193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F193A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193A#FFFFFF#000000##FFFFFF
##0F193A1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f193a;
/* rgb */ color: rgb(15, 25, 58);
/* oklch */ color: oklch(22.6% 0.065 268.2);
Tailwind
colors: {
  custom: {
    50: '#535570',
    500: '#0f193a',
    950: '#000000',
  },
}
SCSS
$custom: #0f193a;
$custom-light: #535570;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193a",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 226.047,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22565,
    "c": 0.06526,
    "h": 268.2
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#0F193A
secondary
#746530
accent
#BE46E2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030307
muted
#78787A

Preview Lab

Preview with #0F193A

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

Preview Lab → · Contrast checker → · Palette generator →

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