#1B2D97#1B2D97

#1B2D97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.172 H 268.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1B2D97
RGBrgb(27, 45, 151)
HSLhsl(231, 70%, 35%)
HSVhsv(231, 82%, 59%)
CMYKcmyk(82.1%, 70.2%, 0%, 40.8%)
CIE-LABlab(24.78, 33.57, -59.47)
CIE-LCHlch(24.78, 68.29, 299.45°)
OKLaboklab(36.5% -0.0057 -0.1723)
OKLCHoklch(36.5% 0.172 268.1)
XYZxyz(6.9744, 4.3433, 29.7429)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D97 #97851B
analogous
#1B6B97 #1B2D97 #471B97
triadic
#1B2D97 #971B2D #2D971B
tetradic
#1B2D97 #971B6B #97851B #1B9747
square
#1B2D97 #971B6B #97851B #1B9747
split-complementary
#1B2D97 #97471B #6B971B
monochromatic
#080E2F #121E63 #1B2D97 #243CCB #4D62DF

Accessibility & contrast

On white

11.24
#1B2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1B2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D97
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D97#FFFFFF#000000##FFFFFF
##1B2D971.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b2d97;
/* rgb */ color: rgb(27, 45, 151);
/* oklch */ color: oklch(36.5% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f66b7',
    500: '#1b2d97',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d97;
$custom-light: #6f66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d97",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 231.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.17237,
    "h": 268.1
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#1B2D97
secondary
#C1B04C
accent
#D33BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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