#1B2D5D#1B2D5D

#1B2D5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.089 H 266.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1B2D5D
RGBrgb(27, 45, 93)
HSLhsl(224, 55%, 24%)
HSVhsv(224, 71%, 36%)
CMYKcmyk(71%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.64, 10.58, -30.95)
CIE-LCHlch(19.64, 32.71, 288.86°)
OKLaboklab(31.1% -0.0063 -0.0887)
OKLCHoklch(31.1% 0.089 266)
XYZxyz(3.3655, 2.8998, 10.7362)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D5D #5D4B1B
analogous
#1B4E5D #1B2D5D #2A1B5D
triadic
#1B2D5D #5D1B2D #2D5D1B
tetradic
#1B2D5D #5D1B4E #5D4B1B #1B5D2A
square
#1B2D5D #5D1B4E #5D4B1B #1B5D2A
split-complementary
#1B2D5D #5D2A1B #4E5D1B
monochromatic
#070B18 #0D162E #1B2D5D #29448C #375BBC

Accessibility & contrast

On white

13.29
#1B2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D5D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D5D#FFFFFF#000000##FFFFFF
##1B2D5D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d5d;
/* rgb */ color: rgb(27, 45, 93);
/* oklch */ color: oklch(31.1% 0.089 266.0);
Tailwind
colors: {
  custom: {
    50: '#60658b',
    500: '#1b2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d5d;
$custom-light: #60658b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d5d",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 223.636,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.08887,
    "h": 266
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#1B2D5D
secondary
#937C41
accent
#B649DE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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