#1B2490#1B2490

#1B2490 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.173 H 269.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1B2490
RGBrgb(27, 36, 144)
HSLhsl(235, 68%, 34%)
HSVhsv(235, 81%, 56%)
CMYKcmyk(81.3%, 75%, 0%, 43.5%)
CIE-LABlab(21.97, 36.68, -59.77)
CIE-LCHlch(21.97, 70.13, 301.54°)
OKLaboklab(34.26% -0.0011 -0.1731)
OKLCHoklch(34.26% 0.173 269.6)
XYZxyz(6.1152, 3.5077, 26.7349)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2490 #90871B
analogous
#1B5E90 #1B2490 #4C1B90
triadic
#1B2490 #901B24 #24901B
tetradic
#1B2490 #901B5E #90871B #1B904C
square
#1B2490 #901B5E #90871B #1B904C
split-complementary
#1B2490 #904C1B #5E901B
monochromatic
#080A29 #11175C #1B2490 #2531C4 #4954DD

Accessibility & contrast

On white

12.34
#1B2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2490
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2490#FFFFFF#000000##FFFFFF
##1B24901.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2490;
/* rgb */ color: rgb(27, 36, 144);
/* oklch */ color: oklch(34.3% 0.173 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e60b2',
    500: '#1b2490',
    950: '#000000',
  },
}
SCSS
$custom: #1b2490;
$custom-light: #6e60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2490",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 235.385,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.17314,
    "h": 269.6
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#1B2490
secondary
#BFB548
accent
#DE3DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1B2490

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

Preview Lab → · Contrast checker → · Palette generator →

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