#1B2D94#1B2D94

#1B2D94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.168 H 268.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2D94
RGBrgb(27, 45, 148)
HSLhsl(231, 69%, 34%)
HSVhsv(231, 82%, 58%)
CMYKcmyk(81.8%, 69.6%, 0%, 42%)
CIE-LABlab(24.47, 32.44, -58.12)
CIE-LCHlch(24.47, 66.56, 299.17°)
OKLaboklab(36.19% -0.0054 -0.1683)
OKLCHoklch(36.19% 0.168 268.1)
XYZxyz(6.7338, 4.2471, 28.4761)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D94 #94821B
analogous
#1B6A94 #1B2D94 #451B94
triadic
#1B2D94 #941B2D #2D941B
tetradic
#1B2D94 #941B6A #94821B #1B9445
square
#1B2D94 #941B6A #94821B #1B9445
split-complementary
#1B2D94 #94451B #6A941B
monochromatic
#080E2C #121D60 #1B2D94 #243DC8 #4B61DE

Accessibility & contrast

On white

11.35
#1B2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D94
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D94#FFFFFF#000000##FFFFFF
##1B2D941.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2d94;
/* rgb */ color: rgb(27, 45, 148);
/* oklch */ color: oklch(36.2% 0.168 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e66b4',
    500: '#1b2d94',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d94;
$custom-light: #6e66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d94",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 231.074,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.16844,
    "h": 268.1
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#1B2D94
secondary
#C0AF4B
accent
#D23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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