#0F2652#0F2652

#0F2652 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.086 H 261.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0F2652
RGBrgb(15, 38, 82)
HSLhsl(219, 69%, 19%)
HSVhsv(219, 82%, 32%)
CMYKcmyk(81.7%, 53.7%, 0%, 67.8%)
CIE-LABlab(15.99, 9.07, -29.51)
CIE-LCHlch(15.99, 30.87, 287.09°)
OKLaboklab(27.88% -0.0122 -0.0848)
OKLCHoklch(27.88% 0.086 261.8)
XYZxyz(2.4126, 2.0967, 8.2586)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2652 #523B0F
analogous
#0F4852 #0F2652 #1A0F52
triadic
#0F2652 #520F26 #26520F
tetradic
#0F2652 #520F48 #523B0F #0F521A
square
#0F2652 #520F48 #523B0F #0F521A
split-complementary
#0F2652 #521A0F #48520F
monochromatic
#050C1A #060E1E #0F2652 #183E86 #2256B9

Accessibility & contrast

On white

14.79
#0F2652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2652
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2652#FFFFFF#000000##FFFFFF
##0F26521.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2652;
/* rgb */ color: rgb(15, 38, 82);
/* oklch */ color: oklch(27.9% 0.086 261.8);
Tailwind
colors: {
  custom: {
    50: '#595f83',
    500: '#0f2652',
    950: '#000000',
  },
}
SCSS
$custom: #0f2652;
$custom-light: #595f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2652",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 219.403,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27878,
    "c": 0.08567,
    "h": 261.8
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#0F2652
secondary
#8C6D31
accent
#AF3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2652

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

Preview Lab → · Contrast checker → · Palette generator →

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