#1B2D5F#1B2D5F

#1B2D5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.092 H 266.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1B2D5F
RGBrgb(27, 45, 95)
HSLhsl(224, 56%, 24%)
HSVhsv(224, 72%, 37%)
CMYKcmyk(71.6%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.78, 11.39, -32.04)
CIE-LCHlch(19.78, 34.00, 289.57°)
OKLaboklab(31.26% -0.006 -0.0918)
OKLCHoklch(31.26% 0.092 266.3)
XYZxyz(3.4552, 2.9357, 11.2088)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D5F #5F4D1B
analogous
#1B4F5F #1B2D5F #2B1B5F
triadic
#1B2D5F #5F1B2D #2D5F1B
tetradic
#1B2D5F #5F1B4F #5F4D1B #1B5F2B
square
#1B2D5F #5F1B4F #5F4D1B #1B5F2B
split-complementary
#1B2D5F #5F2B1B #4F5F1B
monochromatic
#070B18 #0D162F #1B2D5F #29448F #365ABE

Accessibility & contrast

On white

13.23
#1B2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D5F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D5F#FFFFFF#000000##FFFFFF
##1B2D5F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123361
Deuteranopia (green-blind)
#022D5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d5f;
/* rgb */ color: rgb(27, 45, 95);
/* oklch */ color: oklch(31.3% 0.092 266.3);
Tailwind
colors: {
  custom: {
    50: '#60658d',
    500: '#1b2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d5f;
$custom-light: #60658d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d5f",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 224.118,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.09203,
    "h": 266.3
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#1B2D5F
secondary
#957F41
accent
#B749DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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