#1B2B9D#1B2B9D

#1B2B9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.182 H 268.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#1B2B9D
RGBrgb(27, 43, 157)
HSLhsl(233, 71%, 36%)
HSVhsv(233, 83%, 62%)
CMYKcmyk(82.8%, 72.6%, 0%, 38.4%)
CIE-LABlab(24.93, 37.06, -62.88)
CIE-LCHlch(24.93, 72.99, 300.51°)
OKLaboklab(36.8% -0.0055 -0.1822)
OKLCHoklch(36.8% 0.182 268.3)
XYZxyz(7.3996, 4.3942, 32.3499)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B9D #9D8D1B
analogous
#1B6C9D #1B2B9D #4C1B9D
triadic
#1B2B9D #9D1B2B #2B9D1B
tetradic
#1B2B9D #9D1B6C #9D8D1B #1B9D4C
square
#1B2B9D #9D1B6C #9D8D1B #1B9D4C
split-complementary
#1B2B9D #9D4C1B #6C9D1B
monochromatic
#090E35 #121D69 #1B2B9D #2439D1 #5163E1

Accessibility & contrast

On white

11.18
#1B2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B2B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B9D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B9D#FFFFFF#000000##FFFFFF
##1B2B9D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b2b9d;
/* rgb */ color: rgb(27, 43, 157);
/* oklch */ color: oklch(36.8% 0.182 268.3);
Tailwind
colors: {
  custom: {
    50: '#7165bb',
    500: '#1b2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b9d;
$custom-light: #7165bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b9d",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 232.615,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.18229,
    "h": 268.3
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#1B2B9D
secondary
#C4B650
accent
#D73AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1B2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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