#1B2D60#1B2D60

#1B2D60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.094 H 266.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1B2D60
RGBrgb(27, 45, 96)
HSLhsl(224, 56%, 24%)
HSVhsv(224, 72%, 38%)
CMYKcmyk(71.9%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.86, 11.80, -32.58)
CIE-LCHlch(19.86, 34.65, 289.91°)
OKLaboklab(31.34% -0.0058 -0.0934)
OKLCHoklch(31.34% 0.094 266.4)
XYZxyz(3.5010, 2.9540, 11.4497)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D60 #604E1B
analogous
#1B5060 #1B2D60 #2C1B60
triadic
#1B2D60 #601B2D #2D601B
tetradic
#1B2D60 #601B50 #604E1B #1B602C
square
#1B2D60 #601B50 #604E1B #1B602C
split-complementary
#1B2D60 #602C1B #50601B
monochromatic
#070B18 #0E1730 #1B2D60 #284390 #365AC0

Accessibility & contrast

On white

13.20
#1B2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2D60
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D60#FFFFFF#000000##FFFFFF
##1B2D601.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d60;
/* rgb */ color: rgb(27, 45, 96);
/* oklch */ color: oklch(31.3% 0.094 266.4);
Tailwind
colors: {
  custom: {
    50: '#61658d',
    500: '#1b2d60',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d60;
$custom-light: #61658d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d60",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 224.348,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31335,
    "c": 0.09361,
    "h": 266.4
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#1B2D60
secondary
#968041
accent
#B848DF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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