#1B2C90#1B2C90

#1B2C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.164 H 268.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1B2C90
RGBrgb(27, 44, 144)
HSLhsl(231, 68%, 34%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81.3%, 69.4%, 0%, 43.5%)
CIE-LABlab(23.83, 31.59, -56.71)
CIE-LCHlch(23.83, 64.91, 299.12°)
OKLaboklab(35.6% -0.0046 -0.1642)
OKLCHoklch(35.6% 0.164 268.4)
XYZxyz(6.3850, 4.0473, 26.8248)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C90 #907F1B
analogous
#1B6690 #1B2C90 #441B90
triadic
#1B2C90 #901B2C #2C901B
tetradic
#1B2C90 #901B66 #907F1B #1B9044
square
#1B2C90 #901B66 #907F1B #1B9044
split-complementary
#1B2C90 #90441B #66901B
monochromatic
#080D29 #111C5C #1B2C90 #253CC4 #495EDD

Accessibility & contrast

On white

11.60
#1B2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C90
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C90#FFFFFF#000000##FFFFFF
##1B2C901.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2c90;
/* rgb */ color: rgb(27, 44, 144);
/* oklch */ color: oklch(35.6% 0.164 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d65b2',
    500: '#1b2c90',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c90;
$custom-light: #6d65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c90",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 231.282,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.356,
    "c": 0.16431,
    "h": 268.4
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#1B2C90
secondary
#BFAD48
accent
#D23DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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