#1B2473#1B2473

#1B2473 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.134 H 271.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1B2473
RGBrgb(27, 36, 115)
HSLhsl(234, 62%, 28%)
HSVhsv(234, 77%, 45%)
CMYKcmyk(76.5%, 68.7%, 0%, 54.9%)
CIE-LABlab(18.94, 25.84, -46.44)
CIE-LCHlch(18.94, 53.15, 299.10°)
OKLaboklab(31.16% 0.0024 -0.1343)
OKLCHoklch(31.16% 0.134 271)
XYZxyz(4.1763, 2.7321, 16.5236)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2473 #736A1B
analogous
#1B5073 #1B2473 #3E1B73
triadic
#1B2473 #731B24 #24731B
tetradic
#1B2473 #731B50 #736A1B #1B733E
square
#1B2473 #731B50 #736A1B #1B733E
split-complementary
#1B2473 #733E1B #50731B
monochromatic
#060819 #0F1441 #1B2473 #2734A5 #3848D0

Accessibility & contrast

On white

13.58
#1B2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2473
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2473#FFFFFF#000000##FFFFFF
##1B24731.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2473;
/* rgb */ color: rgb(27, 36, 115);
/* oklch */ color: oklch(31.2% 0.134 271.0);
Tailwind
colors: {
  custom: {
    50: '#665e9c',
    500: '#1b2473',
    950: '#000000',
  },
}
SCSS
$custom: #1b2473;
$custom-light: #665e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2473",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 233.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3116,
    "c": 0.13429,
    "h": 271
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#1B2473
secondary
#A89D42
accent
#D443E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2473

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

Preview Lab → · Contrast checker → · Palette generator →

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