#1B2C5D#1B2C5D

#1B2C5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.090 H 266.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1B2C5D
RGBrgb(27, 44, 93)
HSLhsl(225, 55%, 24%)
HSVhsv(225, 71%, 36%)
CMYKcmyk(71%, 52.7%, 0%, 63.5%)
CIE-LABlab(19.33, 11.30, -31.45)
CIE-LCHlch(19.33, 33.42, 289.77°)
OKLaboklab(30.86% -0.0052 -0.0901)
OKLCHoklch(30.86% 0.09 266.7)
XYZxyz(3.3278, 2.8244, 10.7236)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C5D #5D4C1B
analogous
#1B4D5D #1B2C5D #2B1B5D
triadic
#1B2C5D #5D1B2C #2C5D1B
tetradic
#1B2C5D #5D1B4D #5D4C1B #1B5D2B
square
#1B2C5D #5D1B4D #5D4C1B #1B5D2B
split-complementary
#1B2C5D #5D2B1B #4D5D1B
monochromatic
#070B18 #0D162E #1B2C5D #29428C #3759BC

Accessibility & contrast

On white

13.42
#1B2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C5D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C5D#FFFFFF#000000##FFFFFF
##1B2C5D1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325F
Deuteranopia (green-blind)
#022C5C
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2c5d;
/* rgb */ color: rgb(27, 44, 93);
/* oklch */ color: oklch(30.9% 0.090 266.7);
Tailwind
colors: {
  custom: {
    50: '#60648b',
    500: '#1b2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c5d;
$custom-light: #60648b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c5d",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 224.545,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30859,
    "c": 0.0903,
    "h": 266.7
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#1B2C5D
secondary
#937E41
accent
#B849DE
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1B2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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