#1B2A90#1B2A90

#1B2A90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.167 H 268.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1B2A90
RGBrgb(27, 42, 144)
HSLhsl(232, 68%, 34%)
HSVhsv(232, 81%, 56%)
CMYKcmyk(81.3%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.34, 32.90, -57.51)
CIE-LCHlch(23.34, 66.25, 299.77°)
OKLaboklab(35.25% -0.0037 -0.1666)
OKLCHoklch(35.25% 0.167 268.7)
XYZxyz(6.3123, 3.9018, 26.8006)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A90 #90811B
analogous
#1B6490 #1B2A90 #461B90
triadic
#1B2A90 #901B2A #2A901B
tetradic
#1B2A90 #901B64 #90811B #1B9046
square
#1B2A90 #901B64 #90811B #1B9046
split-complementary
#1B2A90 #90461B #64901B
monochromatic
#080C29 #111B5C #1B2A90 #2539C4 #495CDD

Accessibility & contrast

On white

11.79
#1B2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A90
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A90#FFFFFF#000000##FFFFFF
##1B2A901.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2a90;
/* rgb */ color: rgb(27, 42, 144);
/* oklch */ color: oklch(35.2% 0.167 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d64b2',
    500: '#1b2a90',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a90;
$custom-light: #6d64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a90",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 232.308,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.16661,
    "h": 268.7
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#1B2A90
secondary
#BFAF48
accent
#D53DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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