#0F1B52#0F1B52

#0F1B52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.101 H 268.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0F1B52
RGBrgb(15, 27, 82)
HSLhsl(229, 69%, 19%)
HSVhsv(229, 82%, 32%)
CMYKcmyk(81.7%, 67.1%, 0%, 67.8%)
CIE-LABlab(12.57, 17.40, -35.05)
CIE-LCHlch(12.57, 39.13, 296.40°)
OKLaboklab(25.31% -0.0027 -0.1013)
OKLCHoklch(25.31% 0.101 268.5)
XYZxyz(2.1114, 1.4944, 8.1582)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B52 #52460F
analogous
#0F3D52 #0F1B52 #250F52
triadic
#0F1B52 #520F1B #1B520F
tetradic
#0F1B52 #520F3D #52460F #0F5225
square
#0F1B52 #520F3D #52460F #0F5225
split-complementary
#0F1B52 #52250F #3D520F
monochromatic
#05091A #060A1E #0F1B52 #182C86 #223DB9

Accessibility & contrast

On white

16.17
#0F1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B52
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B52#FFFFFF#000000##FFFFFF
##0F1B521.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1b52;
/* rgb */ color: rgb(15, 27, 82);
/* oklch */ color: oklch(25.3% 0.101 268.5);
Tailwind
colors: {
  custom: {
    50: '#5a5783',
    500: '#0f1b52',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b52;
$custom-light: #5a5783;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b52",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 229.254,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25305,
    "c": 0.10132,
    "h": 268.5
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#0F1B52
secondary
#8C7C31
accent
#CC3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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