#1B2D5E#1B2D5E

#1B2D5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.090 H 266.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1B2D5E
RGBrgb(27, 45, 94)
HSLhsl(224, 55%, 24%)
HSVhsv(224, 71%, 37%)
CMYKcmyk(71.3%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.71, 10.98, -31.50)
CIE-LCHlch(19.71, 33.36, 289.23°)
OKLaboklab(31.18% -0.0061 -0.0902)
OKLCHoklch(31.18% 0.09 266.1)
XYZxyz(3.4101, 2.9176, 10.9709)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D5E #5E4C1B
analogous
#1B4E5E #1B2D5E #2A1B5E
triadic
#1B2D5E #5E1B2D #2D5E1B
tetradic
#1B2D5E #5E1B4E #5E4C1B #1B5E2A
square
#1B2D5E #5E1B4E #5E4C1B #1B5E2A
split-complementary
#1B2D5E #5E2A1B #4E5E1B
monochromatic
#070B18 #0D162E #1B2D5E #29448E #365BBD

Accessibility & contrast

On white

13.26
#1B2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D5E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D5E#FFFFFF#000000##FFFFFF
##1B2D5E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d5e;
/* rgb */ color: rgb(27, 45, 94);
/* oklch */ color: oklch(31.2% 0.090 266.1);
Tailwind
colors: {
  custom: {
    50: '#60658c',
    500: '#1b2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d5e;
$custom-light: #60658c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d5e",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 223.881,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.09046,
    "h": 266.1
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#1B2D5E
secondary
#947D41
accent
#B749DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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