#1B1D64#1B1D64

#1B1D64 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.122 H 274.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1B1D64
RGBrgb(27, 29, 100)
HSLhsl(238, 57%, 25%)
HSVhsv(238, 73%, 39%)
CMYKcmyk(73%, 71%, 0%, 60.8%)
CIE-LABlab(15.65, 24.87, -42.05)
CIE-LCHlch(15.65, 48.85, 300.60°)
OKLaboklab(28.31% 0.0089 -0.1215)
OKLCHoklch(28.31% 0.122 274.2)
XYZxyz(3.1908, 2.0315, 12.2781)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D64 #64621B
analogous
#1B4264 #1B1D64 #3D1B64
triadic
#1B1D64 #641B1D #1D641B
tetradic
#1B1D64 #641B42 #64621B #1B643D
square
#1B1D64 #641B42 #64621B #1B643D
split-complementary
#1B1D64 #643D1B #42641B
monochromatic
#070718 #0E0F34 #1B1D64 #282B94 #3539C4

Accessibility & contrast

On white

14.93
#1B1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1B1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D64
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D64#FFFFFF#000000##FFFFFF
##1B1D641.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b1d64;
/* rgb */ color: rgb(27, 29, 100);
/* oklch */ color: oklch(28.3% 0.122 274.2);
Tailwind
colors: {
  custom: {
    50: '#635991',
    500: '#1b1d64',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d64;
$custom-light: #635991;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d64",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 238.356,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.12179,
    "h": 274.2
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#1B1D64
secondary
#999741
accent
#DD47E1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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