#1B2372#1B2372

#1B2372 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.134 H 271.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2372
RGBrgb(27, 35, 114)
HSLhsl(234, 62%, 28%)
HSVhsv(234, 76%, 45%)
CMYKcmyk(76.3%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.58, 26.14, -46.38)
CIE-LCHlch(18.58, 53.24, 299.41°)
OKLaboklab(30.87% 0.0031 -0.1341)
OKLCHoklch(30.87% 0.134 271.3)
XYZxyz(4.0893, 2.6496, 16.2122)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2372 #726A1B
analogous
#1B4E72 #1B2372 #3F1B72
triadic
#1B2372 #721B23 #23721B
tetradic
#1B2372 #721B4E #726A1B #1B723F
square
#1B2372 #721B4E #726A1B #1B723F
split-complementary
#1B2372 #723F1B #4E721B
monochromatic
#060819 #0F1441 #1B2372 #2732A3 #3846D0

Accessibility & contrast

On white

13.73
#1B2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2372
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2372#FFFFFF#000000##FFFFFF
##1B23721.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2372;
/* rgb */ color: rgb(27, 35, 114);
/* oklch */ color: oklch(30.9% 0.134 271.3);
Tailwind
colors: {
  custom: {
    50: '#665e9b',
    500: '#1b2372',
    950: '#000000',
  },
}
SCSS
$custom: #1b2372;
$custom-light: #665e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2372",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 234.483,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.13414,
    "h": 271.3
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#1B2372
secondary
#A79D42
accent
#D643E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2372

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

Preview Lab → · Contrast checker → · Palette generator →

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