#0F164E#0F164E

#0F164E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.102 H 270.7°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0F164E
RGBrgb(15, 22, 78)
HSLhsl(233, 68%, 18%)
HSVhsv(233, 81%, 31%)
CMYKcmyk(80.8%, 71.8%, 0%, 69.4%)
CIE-LABlab(10.74, 19.44, -35.31)
CIE-LCHlch(10.74, 40.31, 298.83°)
OKLaboklab(23.83% 0.0013 -0.1021)
OKLCHoklch(23.83% 0.102 270.7)
XYZxyz(1.8586, 1.2252, 7.3448)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164E #4E470F
analogous
#0F354E #0F164E #270F4E
triadic
#0F164E #4E0F16 #164E0F
tetradic
#0F164E #4E0F35 #4E470F #0F4E27
square
#0F164E #4E0F35 #4E470F #0F4E27
split-complementary
#0F164E #4E270F #354E0F
monochromatic
#05071A #05081B #0F164E #192481 #2333B5

Accessibility & contrast

On white

16.87
#0F164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F164E
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164E#FFFFFF#000000##FFFFFF
##0F164E1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f164e;
/* rgb */ color: rgb(15, 22, 78);
/* oklch */ color: oklch(23.8% 0.102 270.7);
Tailwind
colors: {
  custom: {
    50: '#595380',
    500: '#0f164e',
    950: '#000000',
  },
}
SCSS
$custom: #0f164e;
$custom-light: #595380;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164e",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 233.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23834,
    "c": 0.10209,
    "h": 270.7
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#0F164E
secondary
#887E31
accent
#D73DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164E

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

Preview Lab → · Contrast checker → · Palette generator →

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