#1B2E52#1B2E52

#1B2E52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.070 H 262.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1B2E52
RGBrgb(27, 46, 82)
HSLhsl(219, 50%, 21%)
HSVhsv(219, 67%, 32%)
CMYKcmyk(67.1%, 43.9%, 0%, 67.8%)
CIE-LABlab(19.21, 5.40, -24.32)
CIE-LCHlch(19.21, 24.91, 282.52°)
OKLaboklab(30.52% -0.0096 -0.0692)
OKLCHoklch(30.52% 0.07 262.1)
XYZxyz(2.9514, 2.7959, 8.3651)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E52 #523F1B
analogous
#1B4A52 #1B2E52 #241B52
triadic
#1B2E52 #521B2E #2E521B
tetradic
#1B2E52 #521B4A #523F1B #1B5224
square
#1B2E52 #521B4A #523F1B #1B5224
split-complementary
#1B2E52 #52241B #4A521B
monochromatic
#080D17 #0C1424 #1B2E52 #2A4880 #3962AE

Accessibility & contrast

On white

13.47
#1B2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E52
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E52#FFFFFF#000000##FFFFFF
##1B2E521.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#172C51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2e52;
/* rgb */ color: rgb(27, 46, 82);
/* oklch */ color: oklch(30.5% 0.070 262.1);
Tailwind
colors: {
  custom: {
    50: '#5d6683',
    500: '#1b2e52',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e52;
$custom-light: #5d6683;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e52",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 219.273,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30523,
    "c": 0.06983,
    "h": 262.1
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#1B2E52
secondary
#886F41
accent
#AA4EDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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