#1B2D8E#1B2D8E

#1B2D8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.160 H 268.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2D8E
RGBrgb(27, 45, 142)
HSLhsl(231, 68%, 33%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81%, 68.3%, 0%, 44.3%)
CIE-LABlab(23.88, 30.16, -55.39)
CIE-LCHlch(23.88, 63.07, 298.57°)
OKLaboklab(35.58% -0.005 -0.1604)
OKLCHoklch(35.58% 0.16 268.2)
XYZxyz(6.2712, 4.0621, 26.0395)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D8E #8E7C1B
analogous
#1B668E #1B2D8E #431B8E
triadic
#1B2D8E #8E1B2D #2D8E1B
tetradic
#1B2D8E #8E1B66 #8E7C1B #1B8E43
square
#1B2D8E #8E1B66 #8E7C1B #1B8E43
split-complementary
#1B2D8E #8E431B #668E1B
monochromatic
#070C27 #111D5B #1B2D8E #253DC1 #475FDC

Accessibility & contrast

On white

11.59
#1B2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D8E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D8E#FFFFFF#000000##FFFFFF
##1B2D8E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2d8e;
/* rgb */ color: rgb(27, 45, 142);
/* oklch */ color: oklch(35.6% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d66b0',
    500: '#1b2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d8e;
$custom-light: #6d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d8e",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 230.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35575,
    "c": 0.16047,
    "h": 268.2
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#1B2D8E
secondary
#BEAB47
accent
#D03DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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