#1B2D8F#1B2D8F

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

Color values

HEX#1B2D8F
RGBrgb(27, 45, 143)
HSLhsl(231, 68%, 33%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81.1%, 68.5%, 0%, 43.9%)
CIE-LABlab(23.97, 30.55, -55.85)
CIE-LCHlch(23.97, 63.66, 298.68°)
OKLaboklab(35.68% -0.0051 -0.1617)
OKLCHoklch(35.68% 0.162 268.2)
XYZxyz(6.3466, 4.0922, 26.4367)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D8F #8F7D1B
analogous
#1B678F #1B2D8F #431B8F
triadic
#1B2D8F #8F1B2D #2D8F1B
tetradic
#1B2D8F #8F1B67 #8F7D1B #1B8F43
square
#1B2D8F #8F1B67 #8F7D1B #1B8F43
split-complementary
#1B2D8F #8F431B #678F1B
monochromatic
#080D28 #111D5C #1B2D8F #253DC2 #485FDC

Accessibility & contrast

On white

11.55
#1B2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D8F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D8F#FFFFFF#000000##FFFFFF
##1B2D8F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2d8f;
/* rgb */ color: rgb(27, 45, 143);
/* oklch */ color: oklch(35.7% 0.162 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1b2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d8f",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 230.69,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35676,
    "c": 0.1618,
    "h": 268.2
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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