#1B2B4B#1B2B4B

#1B2B4B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.062 H 263.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1B2B4B
RGBrgb(27, 43, 75)
HSLhsl(220, 47%, 20%)
HSVhsv(220, 64%, 29%)
CMYKcmyk(64%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.78, 4.79, -21.87)
CIE-LCHlch(17.78, 22.39, 282.34°)
OKLaboklab(29.27% -0.0076 -0.062)
OKLCHoklch(29.27% 0.062 263)
XYZxyz(2.5854, 2.4686, 6.9955)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B4B #4B3B1B
analogous
#1B434B #1B2B4B #231B4B
triadic
#1B2B4B #4B1B2B #2B4B1B
tetradic
#1B2B4B #4B1B43 #4B3B1B #1B4B23
square
#1B2B4B #4B1B43 #4B3B1B #1B4B23
split-complementary
#1B2B4B #4B231B #434B1B
monochromatic
#080D17 #0B111E #1B2B4B #2B4578 #3B5FA5

Accessibility & contrast

On white

14.06
#1B2B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B2B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B4B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B4B#FFFFFF#000000##FFFFFF
##1B2B4B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#17294A
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b2b4b;
/* rgb */ color: rgb(27, 43, 75);
/* oklch */ color: oklch(29.3% 0.062 263.0);
Tailwind
colors: {
  custom: {
    50: '#5c647d',
    500: '#1b2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b4b;
$custom-light: #5c647d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b4b",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 220,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.29271,
    "c": 0.06249,
    "h": 263
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#1B2B4B
secondary
#816C41
accent
#AA51D7
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #1B2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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