#0F1C52#0F1C52

#0F1C52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.100 H 268.0°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#0F1C52
RGBrgb(15, 28, 82)
HSLhsl(228, 69%, 19%)
HSVhsv(228, 82%, 32%)
CMYKcmyk(81.7%, 65.9%, 0%, 67.8%)
CIE-LABlab(12.87, 16.65, -34.57)
CIE-LCHlch(12.87, 38.37, 295.71°)
OKLaboklab(25.52% -0.0034 -0.0999)
OKLCHoklch(25.52% 0.1 268)
XYZxyz(2.1347, 1.5410, 8.1660)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C52 #52450F
analogous
#0F3E52 #0F1C52 #240F52
triadic
#0F1C52 #520F1C #1C520F
tetradic
#0F1C52 #520F3E #52450F #0F5224
square
#0F1C52 #520F3E #52450F #0F5224
split-complementary
#0F1C52 #52240F #3E520F
monochromatic
#05091A #060A1E #0F1C52 #182E86 #223FB9

Accessibility & contrast

On white

16.05
#0F1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1C52
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C52#FFFFFF#000000##FFFFFF
##0F1C521.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1c52;
/* rgb */ color: rgb(15, 28, 82);
/* oklch */ color: oklch(25.5% 0.100 268.0);
Tailwind
colors: {
  custom: {
    50: '#595783',
    500: '#0f1c52',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c52;
$custom-light: #595783;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c52",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 228.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25523,
    "c": 0.09992,
    "h": 268
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#0F1C52
secondary
#8C7A31
accent
#CA3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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