#0F2553#0F2553

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

Color values

HEX#0F2553
RGBrgb(15, 37, 83)
HSLhsl(221, 69%, 19%)
HSVhsv(221, 82%, 33%)
CMYKcmyk(81.9%, 55.4%, 0%, 67.5%)
CIE-LABlab(15.74, 10.26, -30.58)
CIE-LCHlch(15.74, 32.26, 288.55°)
OKLaboklab(27.72% -0.0111 -0.088)
OKLCHoklch(27.72% 0.089 262.8)
XYZxyz(2.4193, 2.0490, 8.4499)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2553 #533D0F
analogous
#0F4753 #0F2553 #1B0F53
triadic
#0F2553 #530F25 #25530F
tetradic
#0F2553 #530F47 #533D0F #0F531B
square
#0F2553 #530F47 #533D0F #0F531B
split-complementary
#0F2553 #531B0F #47530F
monochromatic
#050C1A #060E1F #0F2553 #183C87 #2253BB

Accessibility & contrast

On white

14.90
#0F2553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2553
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2553#FFFFFF#000000##FFFFFF
##0F25531.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B55
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2553;
/* rgb */ color: rgb(15, 37, 83);
/* oklch */ color: oklch(27.7% 0.089 262.8);
Tailwind
colors: {
  custom: {
    50: '#595f84',
    500: '#0f2553',
    950: '#000000',
  },
}
SCSS
$custom: #0f2553;
$custom-light: #595f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2553",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 83
  },
  "hsl": {
    "h": 220.588,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27716,
    "c": 0.08866,
    "h": 262.8
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#0F2553
secondary
#8D6F31
accent
#B33CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2553

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

Preview Lab → · Contrast checker → · Palette generator →

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