#1B2C9F#1B2C9F

#1B2C9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.184 H 268.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2C9F
RGBrgb(27, 44, 159)
HSLhsl(232, 71%, 36%)
HSVhsv(232, 83%, 62%)
CMYKcmyk(83%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.37, 37.16, -63.38)
CIE-LCHlch(25.37, 73.47, 300.39°)
OKLaboklab(37.18% -0.0061 -0.1837)
OKLCHoklch(37.18% 0.184 268.1)
XYZxyz(7.6085, 4.5367, 33.2688)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C9F #9F8E1B
analogous
#1B6E9F #1B2C9F #4C1B9F
triadic
#1B2C9F #9F1B2C #2C9F1B
tetradic
#1B2C9F #9F1B6E #9F8E1B #1B9F4C
square
#1B2C9F #9F1B6E #9F8E1B #1B9F4C
split-complementary
#1B2C9F #9F4C1B #6E9F1B
monochromatic
#090F36 #121E6B #1B2C9F #243AD3 #5365E2

Accessibility & contrast

On white

11.01
#1B2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C9F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C9F#FFFFFF#000000##FFFFFF
##1B2C9F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2c9f;
/* rgb */ color: rgb(27, 44, 159);
/* oklch */ color: oklch(37.2% 0.184 268.1);
Tailwind
colors: {
  custom: {
    50: '#7166bd',
    500: '#1b2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c9f;
$custom-light: #7166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c9f",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 232.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.18376,
    "h": 268.1
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#1B2C9F
secondary
#C5B651
accent
#D73AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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