#0F193F#0F193F

#0F193F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.074 H 268.8°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#0F193F
RGBrgb(15, 25, 63)
HSLhsl(228, 62%, 15%)
HSVhsv(228, 76%, 25%)
CMYKcmyk(76.2%, 60.3%, 0%, 75.3%)
CIE-LABlab(10.23, 10.72, -25.67)
CIE-LCHlch(10.23, 27.82, 292.67°)
OKLaboklab(23.01% -0.0015 -0.0738)
OKLCHoklch(23.01% 0.074 268.8)
XYZxyz(1.4415, 1.1556, 4.8487)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F193F #3F350F
analogous
#0F313F #0F193F #1D0F3F
triadic
#0F193F #3F0F19 #193F0F
tetradic
#0F193F #3F0F31 #3F350F #0F3F1D
square
#0F193F #3F0F31 #3F350F #0F3F1D
split-complementary
#0F193F #3F1D0F #313F0F
monochromatic
#060A19 #060A19 #0F193F #1B2D70 #2740A2

Accessibility & contrast

On white

17.06
#0F193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F193F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F193F#FFFFFF#000000##FFFFFF
##0F193F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f193f;
/* rgb */ color: rgb(15, 25, 63);
/* oklch */ color: oklch(23.0% 0.074 268.8);
Tailwind
colors: {
  custom: {
    50: '#545574',
    500: '#0f193f',
    950: '#000000',
  },
}
SCSS
$custom: #0f193f;
$custom-light: #545574;
$custom-dark: #000000;
JSON
{
  "hex": "#0f193f",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 227.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23007,
    "c": 0.07378,
    "h": 268.8
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#0F193F
secondary
#796A30
accent
#C343E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F193F

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

Preview Lab → · Contrast checker → · Palette generator →

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