#1B2B4E#1B2B4E

#1B2B4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.067 H 264.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1B2B4E
RGBrgb(27, 43, 78)
HSLhsl(221, 49%, 21%)
HSVhsv(221, 65%, 31%)
CMYKcmyk(65.4%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.97, 5.98, -23.60)
CIE-LCHlch(17.97, 24.34, 284.21°)
OKLaboklab(29.48% -0.0069 -0.0671)
OKLCHoklch(29.48% 0.067 264.2)
XYZxyz(2.6905, 2.5106, 7.5491)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B4E #4E3E1B
analogous
#1B444E #1B2B4E #241B4E
triadic
#1B2B4E #4E1B2B #2B4E1B
tetradic
#1B2B4E #4E1B44 #4E3E1B #1B4E24
square
#1B2B4E #4E1B44 #4E3E1B #1B4E24
split-complementary
#1B2B4E #4E241B #444E1B
monochromatic
#080D17 #0B1221 #1B2B4E #2B447B #3A5DA9

Accessibility & contrast

On white

13.98
#1B2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B4E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B4E#FFFFFF#000000##FFFFFF
##1B2B4E1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4F
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b2b4e;
/* rgb */ color: rgb(27, 43, 78);
/* oklch */ color: oklch(29.5% 0.067 264.2);
Tailwind
colors: {
  custom: {
    50: '#5d6480',
    500: '#1b2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b4e;
$custom-light: #5d6480;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b4e",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 221.176,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.06744,
    "h": 264.2
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#1B2B4E
secondary
#846F41
accent
#AD50D8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1B2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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