#1B2D4F#1B2D4F

#1B2D4F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.066 H 262.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2D4F
RGBrgb(27, 45, 79)
HSLhsl(219, 49%, 21%)
HSVhsv(219, 66%, 31%)
CMYKcmyk(65.8%, 43%, 0%, 69%)
CIE-LABlab(18.69, 4.93, -23.13)
CIE-LCHlch(18.69, 23.65, 282.02°)
OKLaboklab(30.06% -0.0091 -0.0657)
OKLCHoklch(30.06% 0.066 262.1)
XYZxyz(2.8012, 2.6741, 7.7641)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D4F #4F3D1B
analogous
#1B474F #1B2D4F #231B4F
triadic
#1B2D4F #4F1B2D #2D4F1B
tetradic
#1B2D4F #4F1B47 #4F3D1B #1B4F23
square
#1B2D4F #4F1B47 #4F3D1B #1B4F23
split-complementary
#1B2D4F #4F231B #474F1B
monochromatic
#080D17 #0B1321 #1B2D4F #2B477D #3A61AA

Accessibility & contrast

On white

13.68
#1B2D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D4F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D4F#FFFFFF#000000##FFFFFF
##1B2D4F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2d4f;
/* rgb */ color: rgb(27, 45, 79);
/* oklch */ color: oklch(30.1% 0.066 262.1);
Tailwind
colors: {
  custom: {
    50: '#5d6580',
    500: '#1b2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d4f;
$custom-light: #5d6580;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d4f",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 219.231,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30059,
    "c": 0.06631,
    "h": 262.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#1B2D4F
secondary
#856D41
accent
#A94FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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