#1B2D61#1B2D61

#1B2D61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.095 H 266.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1B2D61
RGBrgb(27, 45, 97)
HSLhsl(225, 56%, 24%)
HSVhsv(225, 72%, 38%)
CMYKcmyk(72.2%, 53.6%, 0%, 62%)
CIE-LABlab(19.93, 12.21, -33.11)
CIE-LCHlch(19.93, 35.29, 290.24°)
OKLaboklab(31.42% -0.0057 -0.095)
OKLCHoklch(31.42% 0.095 266.6)
XYZxyz(3.5473, 2.9725, 11.6938)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D61 #614F1B
analogous
#1B5061 #1B2D61 #2C1B61
triadic
#1B2D61 #611B2D #2D611B
tetradic
#1B2D61 #611B50 #614F1B #1B612C
square
#1B2D61 #611B50 #614F1B #1B612C
split-complementary
#1B2D61 #612C1B #50611B
monochromatic
#070B18 #0E1731 #1B2D61 #284391 #3659C1

Accessibility & contrast

On white

13.17
#1B2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2D61
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D61#FFFFFF#000000##FFFFFF
##1B2D611.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3463
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d61;
/* rgb */ color: rgb(27, 45, 97);
/* oklch */ color: oklch(31.4% 0.095 266.6);
Tailwind
colors: {
  custom: {
    50: '#61658e',
    500: '#1b2d61',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d61;
$custom-light: #61658e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d61",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 224.571,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31416,
    "c": 0.09518,
    "h": 266.6
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#1B2D61
secondary
#978141
accent
#B948E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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