#1B2E90#1B2E90

#1B2E90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.162 H 268.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1B2E90
RGBrgb(27, 46, 144)
HSLhsl(230, 68%, 34%)
HSVhsv(230, 81%, 56%)
CMYKcmyk(81.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.32, 30.26, -55.90)
CIE-LCHlch(24.32, 63.56, 298.43°)
OKLaboklab(35.96% -0.0057 -0.1619)
OKLCHoklch(35.96% 0.162 268)
XYZxyz(6.4613, 4.1999, 26.8503)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E90 #907D1B
analogous
#1B6890 #1B2E90 #421B90
triadic
#1B2E90 #901B2E #2E901B
tetradic
#1B2E90 #901B68 #907D1B #1B9042
square
#1B2E90 #901B68 #907D1B #1B9042
split-complementary
#1B2E90 #90421B #68901B
monochromatic
#080D29 #111E5C #1B2E90 #253EC4 #4961DD

Accessibility & contrast

On white

11.41
#1B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E90
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E90#FFFFFF#000000##FFFFFF
##1B2E901.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2e90;
/* rgb */ color: rgb(27, 46, 144);
/* oklch */ color: oklch(36.0% 0.162 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e90;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e90",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 230.256,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.16196,
    "h": 268
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#1B2E90
secondary
#BFAB48
accent
#CF3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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