#1B1D74#1B1D74

#1B1D74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.144 H 272.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#1B1D74
RGBrgb(27, 29, 116)
HSLhsl(239, 62%, 28%)
HSVhsv(239, 77%, 45%)
CMYKcmyk(76.7%, 75%, 0%, 54.5%)
CIE-LABlab(17.33, 30.87, -49.73)
CIE-LCHlch(17.33, 58.53, 301.83°)
OKLaboklab(30.03% 0.0066 -0.1439)
OKLCHoklch(30.03% 0.144 272.6)
XYZxyz(4.0427, 2.3723, 16.7644)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D74 #74721B
analogous
#1B4974 #1B1D74 #451B74
triadic
#1B1D74 #741B1D #1D741B
tetradic
#1B1D74 #741B49 #74721B #1B7445
square
#1B1D74 #741B49 #74721B #1B7445
split-complementary
#1B1D74 #74451B #49741B
monochromatic
#060619 #0F1142 #1B1D74 #2729A6 #393CD1

Accessibility & contrast

On white

14.24
#1B1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1B1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D74
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D74#FFFFFF#000000##FFFFFF
##1B1D741.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b1d74;
/* rgb */ color: rgb(27, 29, 116);
/* oklch */ color: oklch(30.0% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#675a9d',
    500: '#1b1d74',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d74;
$custom-light: #675a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d74",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 238.652,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3003,
    "c": 0.14403,
    "h": 272.6
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#1B1D74
secondary
#A9A642
accent
#E242E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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