#1B2155#1B2155

#1B2155 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.094 H 273.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1B2155
RGBrgb(27, 33, 85)
HSLhsl(234, 52%, 22%)
HSVhsv(234, 68%, 33%)
CMYKcmyk(68.2%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.36, 16.14, -32.51)
CIE-LCHlch(15.36, 36.30, 296.40°)
OKLaboklab(27.67% 0.0059 -0.0934)
OKLCHoklch(27.67% 0.094 273.6)
XYZxyz(2.6350, 1.9764, 8.8352)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2155 #554F1B
analogous
#1B3E55 #1B2155 #321B55
triadic
#1B2155 #551B21 #21551B
tetradic
#1B2155 #551B3E #554F1B #1B5532
square
#1B2155 #551B3E #554F1B #1B5532
split-complementary
#1B2155 #55321B #3E551B
monochromatic
#070917 #0C0F27 #1B2155 #2A3383 #3945B2

Accessibility & contrast

On white

15.05
#1B2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2155
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2155#FFFFFF#000000##FFFFFF
##1B21551.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b2155;
/* rgb */ color: rgb(27, 33, 85);
/* oklch */ color: oklch(27.7% 0.094 273.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c85',
    500: '#1b2155',
    950: '#000000',
  },
}
SCSS
$custom: #1b2155;
$custom-light: #5f5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2155",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 233.793,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27668,
    "c": 0.09362,
    "h": 273.6
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#1B2155
secondary
#8B8341
accent
#CC4DDB
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1B2155

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

Preview Lab → · Contrast checker → · Palette generator →

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