#0F1253#0F1253

#0F1253 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.115 H 271.6°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0F1253
RGBrgb(15, 18, 83)
HSLhsl(237, 69%, 19%)
HSVhsv(237, 82%, 33%)
CMYKcmyk(81.9%, 78.3%, 0%, 67.5%)
CIE-LABlab(10.25, 24.30, -39.55)
CIE-LCHlch(10.25, 46.42, 301.57°)
OKLaboklab(23.64% 0.0032 -0.1145)
OKLCHoklch(23.64% 0.115 271.6)
XYZxyz(1.9741, 1.1585, 8.3015)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1253 #53500F
analogous
#0F3453 #0F1253 #2E0F53
triadic
#0F1253 #530F12 #12530F
tetradic
#0F1253 #530F34 #53500F #0F532E
square
#0F1253 #530F34 #53500F #0F532E
split-complementary
#0F1253 #532E0F #34530F
monochromatic
#05061A #06071F #0F1253 #181D87 #2228BB

Accessibility & contrast

On white

17.05
#0F1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1253
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1253#FFFFFF#000000##FFFFFF
##0F12531.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1253;
/* rgb */ color: rgb(15, 18, 83);
/* oklch */ color: oklch(23.6% 0.115 271.6);
Tailwind
colors: {
  custom: {
    50: '#5b5084',
    500: '#0f1253',
    950: '#000000',
  },
}
SCSS
$custom: #0f1253;
$custom-light: #5b5084;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1253",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 237.353,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23643,
    "c": 0.11453,
    "h": 271.6
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#0F1253
secondary
#8D8931
accent
#E43CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1253

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

Preview Lab → · Contrast checker → · Palette generator →

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