#1B2B97#1B2B97

#1B2B97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.175 H 268.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1B2B97
RGBrgb(27, 43, 151)
HSLhsl(232, 70%, 35%)
HSVhsv(232, 82%, 59%)
CMYKcmyk(82.1%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.30, 34.86, -60.24)
CIE-LCHlch(24.30, 69.60, 300.05°)
OKLaboklab(36.16% -0.0048 -0.1745)
OKLCHoklch(36.16% 0.175 268.4)
XYZxyz(6.8999, 4.1943, 29.7181)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B97 #97871B
analogous
#1B6997 #1B2B97 #491B97
triadic
#1B2B97 #971B2B #2B971B
tetradic
#1B2B97 #971B69 #97871B #1B9749
square
#1B2B97 #971B69 #97871B #1B9749
split-complementary
#1B2B97 #97491B #69971B
monochromatic
#080D2F #121C63 #1B2B97 #243ACB #4D60DF

Accessibility & contrast

On white

11.42
#1B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B97
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B97#FFFFFF#000000##FFFFFF
##1B2B971.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2b97;
/* rgb */ color: rgb(27, 43, 151);
/* oklch */ color: oklch(36.2% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f65b7',
    500: '#1b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b97;
$custom-light: #6f65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b97",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 232.258,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.17461,
    "h": 268.4
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#1B2B97
secondary
#C1B24C
accent
#D63BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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