#1B2D53#1B2D53

#1B2D53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.073 H 263.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1B2D53
RGBrgb(27, 45, 83)
HSLhsl(221, 51%, 22%)
HSVhsv(221, 67%, 33%)
CMYKcmyk(67.5%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.95, 6.52, -25.41)
CIE-LCHlch(18.95, 26.23, 284.40°)
OKLaboklab(30.34% -0.0082 -0.0724)
OKLCHoklch(30.34% 0.073 263.6)
XYZxyz(2.9512, 2.7341, 8.5541)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D53 #53411B
analogous
#1B4953 #1B2D53 #251B53
triadic
#1B2D53 #531B2D #2D531B
tetradic
#1B2D53 #531B49 #53411B #1B5325
square
#1B2D53 #531B49 #53411B #1B5325
split-complementary
#1B2D53 #53251B #49531B
monochromatic
#080D17 #0C1425 #1B2D53 #2A4681 #395FAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2D53#FFFFFF#000000##FFFFFF
##1B2D531.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)
#1C3154
Deuteranopia (green-blind)
#142C52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2d53;
/* rgb */ color: rgb(27, 45, 83);
/* oklch */ color: oklch(30.3% 0.073 263.6);
Tailwind
colors: {
  custom: {
    50: '#5e6583',
    500: '#1b2d53',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d53;
$custom-light: #5e6583;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d53",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 220.714,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.07282,
    "h": 263.6
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#1B2D53
secondary
#897241
accent
#AD4DDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050A
muted
#797A7C

Preview Lab

Preview with #1B2D53

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

Preview Lab → · Contrast checker → · Palette generator →

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