#0F2153#0F2153

#0F2153 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.094 H 265.4°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#0F2153
RGBrgb(15, 33, 83)
HSLhsl(224, 69%, 19%)
HSVhsv(224, 82%, 33%)
CMYKcmyk(81.9%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.48, 13.29, -32.63)
CIE-LCHlch(14.48, 35.23, 292.16°)
OKLaboklab(26.76% -0.0075 -0.0941)
OKLCHoklch(26.76% 0.094 265.4)
XYZxyz(2.3016, 1.8136, 8.4107)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2153 #53410F
analogous
#0F4353 #0F2153 #1F0F53
triadic
#0F2153 #530F21 #21530F
tetradic
#0F2153 #530F43 #53410F #0F531F
square
#0F2153 #530F43 #53410F #0F531F
split-complementary
#0F2153 #531F0F #43530F
monochromatic
#050A1A #060C1F #0F2153 #183687 #224ABB

Accessibility & contrast

On white

15.41
#0F2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2153
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2153#FFFFFF#000000##FFFFFF
##0F21531.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2153;
/* rgb */ color: rgb(15, 33, 83);
/* oklch */ color: oklch(26.8% 0.094 265.4);
Tailwind
colors: {
  custom: {
    50: '#595b84',
    500: '#0f2153',
    950: '#000000',
  },
}
SCSS
$custom: #0f2153;
$custom-light: #595b84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2153",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 224.118,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26757,
    "c": 0.09437,
    "h": 265.4
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#0F2153
secondary
#8D7531
accent
#BD3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2153

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

Preview Lab → · Contrast checker → · Palette generator →

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