#0F0F53#0F0F53

#0F0F53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.118 H 272.3°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#0F0F53
RGBrgb(15, 15, 83)
HSLhsl(240, 69%, 19%)
HSVhsv(240, 82%, 33%)
CMYKcmyk(81.9%, 81.9%, 0%, 67.5%)
CIE-LABlab(9.54, 26.28, -40.72)
CIE-LCHlch(9.54, 48.46, 302.84°)
OKLaboklab(23.14% 0.0048 -0.1178)
OKLCHoklch(23.14% 0.118 272.3)
XYZxyz(1.9286, 1.0675, 8.2863)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F53 #53530F
analogous
#0F3153 #0F0F53 #310F53
triadic
#0F0F53 #530F0F #0F530F
tetradic
#0F0F53 #530F31 #53530F #0F5331
square
#0F0F53 #530F31 #53530F #0F5331
split-complementary
#0F0F53 #53310F #31530F
monochromatic
#05051A #06061F #0F0F53 #181887 #2222BB

Accessibility & contrast

On white

17.30
#0F0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F53
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F53#FFFFFF#000000##FFFFFF
##0F0F531.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001752
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f0f53;
/* rgb */ color: rgb(15, 15, 83);
/* oklch */ color: oklch(23.1% 0.118 272.3);
Tailwind
colors: {
  custom: {
    50: '#5b4e84',
    500: '#0f0f53',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f53;
$custom-light: #5b4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f53",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 240,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2314,
    "c": 0.11795,
    "h": 272.3
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#0F0F53
secondary
#8D8D31
accent
#EC3CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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