#0F165C#0F165C

#0F165C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.123 H 269.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#0F165C
RGBrgb(15, 22, 92)
HSLhsl(235, 72%, 21%)
HSVhsv(235, 84%, 36%)
CMYKcmyk(83.7%, 76.1%, 0%, 63.9%)
CIE-LABlab(12.27, 25.13, -42.31)
CIE-LCHlch(12.27, 49.21, 300.71°)
OKLaboklab(25.41% -0.0002 -0.1225)
OKLCHoklch(25.41% 0.123 269.9)
XYZxyz(2.4150, 1.4478, 10.2753)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F165C #5C550F
analogous
#0F3C5C #0F165C #2E0F5C
triadic
#0F165C #5C0F16 #165C0F
tetradic
#0F165C #5C0F3C #5C550F #0F5C2E
square
#0F165C #5C0F3C #5C550F #0F5C2E
split-complementary
#0F165C #5C2E0F #3C5C0F
monochromatic
#04061A #060927 #0F165C #182391 #202FC5

Accessibility & contrast

On white

16.28
#0F165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F165C
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F165C#FFFFFF#000000##FFFFFF
##0F165C1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f165c;
/* rgb */ color: rgb(15, 22, 92);
/* oklch */ color: oklch(25.4% 0.123 269.9);
Tailwind
colors: {
  custom: {
    50: '#5d538b',
    500: '#0f165c',
    950: '#000000',
  },
}
SCSS
$custom: #0f165c;
$custom-light: #5d538b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f165c",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 234.545,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25407,
    "c": 0.12253,
    "h": 269.9
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#0F165C
secondary
#958C31
accent
#DE39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F165C

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

Preview Lab → · Contrast checker → · Palette generator →

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