#0F193E#0F193E

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

Color values

HEX#0F193E
RGBrgb(15, 25, 62)
HSLhsl(227, 61%, 15%)
HSVhsv(227, 76%, 24%)
CMYKcmyk(75.8%, 59.7%, 0%, 75.7%)
CIE-LABlab(10.14, 10.29, -25.10)
CIE-LCHlch(10.14, 27.13, 292.29°)
OKLaboklab(22.92% -0.0016 -0.0721)
OKLCHoklch(22.92% 0.072 268.7)
XYZxyz(1.4138, 1.1445, 4.7029)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193E #3E340F
analogous
#0F303E #0F193E #1C0F3E
triadic
#0F193E #3E0F19 #193E0F
tetradic
#0F193E #3E0F30 #3E340F #0F3E1C
square
#0F193E #3E0F30 #3E340F #0F3E1C
split-complementary
#0F193E #3E1C0F #303E0F
monochromatic
#060A19 #060A19 #0F193E #1B2D6F #2741A1

Accessibility & contrast

On white

17.09
#0F193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F193E
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193E#FFFFFF#000000##FFFFFF
##0F193E1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f193e;
/* rgb */ color: rgb(15, 25, 62);
/* oklch */ color: oklch(22.9% 0.072 268.7);
Tailwind
colors: {
  custom: {
    50: '#545573',
    500: '#0f193e',
    950: '#000000',
  },
}
SCSS
$custom: #0f193e;
$custom-light: #545573;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193e",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 227.234,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22917,
    "c": 0.07209,
    "h": 268.7
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#0F193E
secondary
#786930
accent
#C244E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F193E

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

Preview Lab → · Contrast checker → · Palette generator →

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