#1B2D64#1B2D64

#1B2D64 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.100 H 266.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1B2D64
RGBrgb(27, 45, 100)
HSLhsl(225, 57%, 25%)
HSVhsv(225, 73%, 39%)
CMYKcmyk(73%, 55%, 0%, 60.8%)
CIE-LABlab(20.16, 13.43, -34.71)
CIE-LCHlch(20.16, 37.22, 291.15°)
OKLaboklab(31.66% -0.0054 -0.0997)
OKLCHoklch(31.66% 0.1 266.9)
XYZxyz(3.6898, 3.0295, 12.4444)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D64 #64521B
analogous
#1B5264 #1B2D64 #2D1B64
triadic
#1B2D64 #641B2D #2D641B
tetradic
#1B2D64 #641B52 #64521B #1B642D
square
#1B2D64 #641B52 #64521B #1B642D
split-complementary
#1B2D64 #642D1B #52641B
monochromatic
#070B18 #0E1734 #1B2D64 #284394 #3558C4

Accessibility & contrast

On white

13.08
#1B2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D64
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D64#FFFFFF#000000##FFFFFF
##1B2D641.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3466
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2d64;
/* rgb */ color: rgb(27, 45, 100);
/* oklch */ color: oklch(31.7% 0.100 266.9);
Tailwind
colors: {
  custom: {
    50: '#626591',
    500: '#1b2d64',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d64;
$custom-light: #626591;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d64",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 225.205,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31662,
    "c": 0.09985,
    "h": 266.9
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#1B2D64
secondary
#998441
accent
#BB47E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050D
muted
#7A7A7D

Preview Lab

Preview with #1B2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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