#0F163E#0F163E

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

Color values

HEX#0F163E
RGBrgb(15, 22, 62)
HSLhsl(231, 61%, 15%)
HSVhsv(231, 76%, 24%)
CMYKcmyk(75.8%, 64.5%, 0%, 75.7%)
CIE-LABlab(9.18, 12.64, -26.65)
CIE-LCHlch(9.18, 29.50, 295.36°)
OKLaboklab(22.2% 0.0017 -0.0767)
OKLCHoklch(22.2% 0.077 271.2)
XYZxyz(1.3531, 1.0231, 4.6827)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F163E #3E370F
analogous
#0F2D3E #0F163E #200F3E
triadic
#0F163E #3E0F16 #163E0F
tetradic
#0F163E #3E0F2D #3E370F #0F3E20
square
#0F163E #3E0F2D #3E370F #0F3E20
split-complementary
#0F163E #3E200F #2D3E0F
monochromatic
#060919 #060919 #0F163E #1B276F #2739A1

Accessibility & contrast

On white

17.43
#0F163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F163E
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F163E#FFFFFF#000000##FFFFFF
##0F163E1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f163e;
/* rgb */ color: rgb(15, 22, 62);
/* oklch */ color: oklch(22.2% 0.077 271.2);
Tailwind
colors: {
  custom: {
    50: '#545274',
    500: '#0f163e',
    950: '#000000',
  },
}
SCSS
$custom: #0f163e;
$custom-light: #545274;
$custom-dark: #000000;
JSON
{
  "hex": "#0f163e",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 231.064,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22196,
    "c": 0.07671,
    "h": 271.2
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#0F163E
secondary
#786E30
accent
#CC44E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F163E

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

Preview Lab → · Contrast checker → · Palette generator →

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