#0F1153#0F1153

#0F1153 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.116 H 271.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#0F1153
RGBrgb(15, 17, 83)
HSLhsl(238, 69%, 19%)
HSVhsv(238, 82%, 33%)
CMYKcmyk(81.9%, 79.5%, 0%, 67.5%)
CIE-LABlab(10.01, 24.98, -39.95)
CIE-LCHlch(10.01, 47.12, 302.01°)
OKLaboklab(23.47% 0.0038 -0.1156)
OKLCHoklch(23.47% 0.116 271.9)
XYZxyz(1.9583, 1.1268, 8.2962)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1153 #53510F
analogous
#0F3353 #0F1153 #2F0F53
triadic
#0F1153 #530F11 #11530F
tetradic
#0F1153 #530F33 #53510F #0F532F
square
#0F1153 #530F33 #53510F #0F532F
split-complementary
#0F1153 #532F0F #33530F
monochromatic
#05051A #06061F #0F1153 #181C87 #2226BB

Accessibility & contrast

On white

17.14
#0F1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1153
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1153#FFFFFF#000000##FFFFFF
##0F11531.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1153;
/* rgb */ color: rgb(15, 17, 83);
/* oklch */ color: oklch(23.5% 0.116 271.9);
Tailwind
colors: {
  custom: {
    50: '#5b4f84',
    500: '#0f1153',
    950: '#000000',
  },
}
SCSS
$custom: #0f1153;
$custom-light: #5b4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1153",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 238.235,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2347,
    "c": 0.1157,
    "h": 271.9
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#0F1153
secondary
#8D8A31
accent
#E73CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1153

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

Preview Lab → · Contrast checker → · Palette generator →

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