#0F2452#0F2452

#0F2452 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.089 H 263.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#0F2452
RGBrgb(15, 36, 82)
HSLhsl(221, 69%, 19%)
HSVhsv(221, 82%, 32%)
CMYKcmyk(81.7%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.34, 10.58, -30.55)
CIE-LCHlch(15.34, 32.33, 289.10°)
OKLaboklab(27.39% -0.0103 -0.0879)
OKLCHoklch(27.39% 0.089 263.3)
XYZxyz(2.3503, 1.9722, 8.2378)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2452 #523D0F
analogous
#0F4652 #0F2452 #1C0F52
triadic
#0F2452 #520F24 #24520F
tetradic
#0F2452 #520F46 #523D0F #0F521C
square
#0F2452 #520F46 #523D0F #0F521C
split-complementary
#0F2452 #521C0F #46520F
monochromatic
#050B1A #060D1E #0F2452 #183B86 #2251B9

Accessibility & contrast

On white

15.06
#0F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2452
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2452#FFFFFF#000000##FFFFFF
##0F24521.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2452;
/* rgb */ color: rgb(15, 36, 82);
/* oklch */ color: oklch(27.4% 0.089 263.3);
Tailwind
colors: {
  custom: {
    50: '#595e83',
    500: '#0f2452',
    950: '#000000',
  },
}
SCSS
$custom: #0f2452;
$custom-light: #595e83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2452",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 221.194,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27385,
    "c": 0.08851,
    "h": 263.3
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#0F2452
secondary
#8C6F31
accent
#B53CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2452

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

Preview Lab → · Contrast checker → · Palette generator →

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