#1B2153#1B2153

#1B2153 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.090 H 273.7°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1B2153
RGBrgb(27, 33, 83)
HSLhsl(234, 51%, 22%)
HSVhsv(234, 67%, 33%)
CMYKcmyk(67.5%, 60.2%, 0%, 67.5%)
CIE-LABlab(15.20, 15.35, -31.43)
CIE-LCHlch(15.20, 34.98, 296.03°)
OKLaboklab(27.49% 0.0059 -0.0902)
OKLCHoklch(27.49% 0.09 273.7)
XYZxyz(2.5567, 1.9450, 8.4226)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2153 #534D1B
analogous
#1B3D53 #1B2153 #311B53
triadic
#1B2153 #531B21 #21531B
tetradic
#1B2153 #531B3D #534D1B #1B5331
square
#1B2153 #531B3D #534D1B #1B5331
split-complementary
#1B2153 #53311B #3D531B
monochromatic
#080917 #0C0F25 #1B2153 #2A3381 #3946AF

Accessibility & contrast

On white

15.12
#1B2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1B2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2153
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2153#FFFFFF#000000##FFFFFF
##1B21531.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b2153;
/* rgb */ color: rgb(27, 33, 83);
/* oklch */ color: oklch(27.5% 0.090 273.7);
Tailwind
colors: {
  custom: {
    50: '#5e5c84',
    500: '#1b2153',
    950: '#000000',
  },
}
SCSS
$custom: #1b2153;
$custom-light: #5e5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2153",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 233.571,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27491,
    "c": 0.09043,
    "h": 273.7
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#1B2153
secondary
#898141
accent
#CB4DDA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1B2153

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

Preview Lab → · Contrast checker → · Palette generator →

#1B2153 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva