#0F163D#0F163D

#0F163D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.075 H 271.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#0F163D
RGBrgb(15, 22, 61)
HSLhsl(231, 61%, 15%)
HSVhsv(231, 75%, 24%)
CMYKcmyk(75.4%, 63.9%, 0%, 76.1%)
CIE-LABlab(9.09, 12.21, -26.09)
CIE-LCHlch(9.09, 28.80, 295.07°)
OKLaboklab(22.1% 0.0016 -0.075)
OKLCHoklch(22.1% 0.075 271.2)
XYZxyz(1.3259, 1.0122, 4.5395)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F163D #3D360F
analogous
#0F2D3D #0F163D #1F0F3D
triadic
#0F163D #3D0F16 #163D0F
tetradic
#0F163D #3D0F2D #3D360F #0F3D1F
square
#0F163D #3D0F2D #3D360F #0F3D1F
split-complementary
#0F163D #3D1F0F #2D3D0F
monochromatic
#060919 #060919 #0F163D #1B286E #27399F

Accessibility & contrast

On white

17.47
#0F163D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F163D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F163D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F163D#FFFFFF#000000##FFFFFF
##0F163D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f163d;
/* rgb */ color: rgb(15, 22, 61);
/* oklch */ color: oklch(22.1% 0.075 271.2);
Tailwind
colors: {
  custom: {
    50: '#545273',
    500: '#0f163d',
    950: '#000000',
  },
}
SCSS
$custom: #0f163d;
$custom-light: #545273;
$custom-dark: #000000;
JSON
{
  "hex": "#0f163d",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 61
  },
  "hsl": {
    "h": 230.87,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.221,
    "c": 0.07504,
    "h": 271.2
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#0F163D
secondary
#776D30
accent
#CB44E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F163D

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

Preview Lab → · Contrast checker → · Palette generator →

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