#1B2290#1B2290

#1B2290 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.175 H 269.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1B2290
RGBrgb(27, 34, 144)
HSLhsl(236, 68%, 34%)
HSVhsv(236, 81%, 56%)
CMYKcmyk(81.3%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.54, 37.89, -60.48)
CIE-LCHlch(21.54, 71.36, 302.06°)
OKLaboklab(33.96% -0.0003 -0.1752)
OKLCHoklch(33.96% 0.175 269.9)
XYZxyz(6.0563, 3.3900, 26.7153)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2290 #90891B
analogous
#1B5C90 #1B2290 #4E1B90
triadic
#1B2290 #901B22 #22901B
tetradic
#1B2290 #901B5C #90891B #1B904E
square
#1B2290 #901B5C #90891B #1B904E
split-complementary
#1B2290 #904E1B #5C901B
monochromatic
#080A29 #11165C #1B2290 #252EC4 #4951DD

Accessibility & contrast

On white

12.51
#1B2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2290
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2290#FFFFFF#000000##FFFFFF
##1B22901.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2290;
/* rgb */ color: rgb(27, 34, 144);
/* oklch */ color: oklch(34.0% 0.175 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e5eb2',
    500: '#1b2290',
    950: '#000000',
  },
}
SCSS
$custom: #1b2290;
$custom-light: #6e5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2290",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 236.41,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33957,
    "c": 0.17519,
    "h": 269.9
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1B2290
secondary
#BFB848
accent
#E13DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B2290

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

Preview Lab → · Contrast checker → · Palette generator →

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