#1B2B8E#1B2B8E

#1B2B8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.163 H 268.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1B2B8E
RGBrgb(27, 43, 142)
HSLhsl(232, 68%, 33%)
HSVhsv(232, 81%, 56%)
CMYKcmyk(81%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.38, 31.49, -56.20)
CIE-LCHlch(23.38, 64.42, 299.26°)
OKLaboklab(35.22% -0.004 -0.1628)
OKLCHoklch(35.22% 0.163 268.6)
XYZxyz(6.1967, 3.9130, 26.0146)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B8E #8E7E1B
analogous
#1B648E #1B2B8E #441B8E
triadic
#1B2B8E #8E1B2B #2B8E1B
tetradic
#1B2B8E #8E1B64 #8E7E1B #1B8E44
square
#1B2B8E #8E1B64 #8E7E1B #1B8E44
split-complementary
#1B2B8E #8E441B #648E1B
monochromatic
#070C27 #111B5B #1B2B8E #253BC1 #475CDC

Accessibility & contrast

On white

11.78
#1B2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B8E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B8E#FFFFFF#000000##FFFFFF
##1B2B8E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2b8e;
/* rgb */ color: rgb(27, 43, 142);
/* oklch */ color: oklch(35.2% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d64b0',
    500: '#1b2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b8e;
$custom-light: #6d64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b8e",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 231.652,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35215,
    "c": 0.16281,
    "h": 268.6
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#1B2B8E
secondary
#BEAD47
accent
#D33DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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