#1B2D90#1B2D90

#1B2D90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.163 H 268.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1B2D90
RGBrgb(27, 45, 144)
HSLhsl(231, 68%, 34%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.07, 30.93, -56.31)
CIE-LCHlch(24.07, 64.24, 298.78°)
OKLaboklab(35.78% -0.0051 -0.1631)
OKLCHoklch(35.78% 0.163 268.2)
XYZxyz(6.4227, 4.1227, 26.8374)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D90 #907E1B
analogous
#1B6790 #1B2D90 #431B90
triadic
#1B2D90 #901B2D #2D901B
tetradic
#1B2D90 #901B67 #907E1B #1B9043
square
#1B2D90 #901B67 #907E1B #1B9043
split-complementary
#1B2D90 #90431B #67901B
monochromatic
#080D29 #111D5C #1B2D90 #253DC4 #495FDD

Accessibility & contrast

On white

11.51
#1B2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D90
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D90#FFFFFF#000000##FFFFFF
##1B2D901.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2d90;
/* rgb */ color: rgb(27, 45, 144);
/* oklch */ color: oklch(35.8% 0.163 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d66b2',
    500: '#1b2d90',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d90;
$custom-light: #6d66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d90",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 230.769,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.16314,
    "h": 268.2
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#1B2D90
secondary
#BFAC48
accent
#D03DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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