#1B2D9F#1B2D9F

#1B2D9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.183 H 268.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2D9F
RGBrgb(27, 45, 159)
HSLhsl(232, 71%, 36%)
HSVhsv(232, 83%, 62%)
CMYKcmyk(83%, 71.7%, 0%, 37.6%)
CIE-LABlab(25.60, 36.53, -63.00)
CIE-LCHlch(25.60, 72.83, 300.11°)
OKLaboklab(37.35% -0.0064 -0.1826)
OKLCHoklch(37.35% 0.183 268)
XYZxyz(7.6462, 4.6121, 33.2814)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D9F #9F8D1B
analogous
#1B6F9F #1B2D9F #4B1B9F
triadic
#1B2D9F #9F1B2D #2D9F1B
tetradic
#1B2D9F #9F1B6F #9F8D1B #1B9F4B
square
#1B2D9F #9F1B6F #9F8D1B #1B9F4B
split-complementary
#1B2D9F #9F4B1B #6F9F1B
monochromatic
#090F36 #121E6B #1B2D9F #243CD3 #5366E2

Accessibility & contrast

On white

10.92
#1B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D9F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D9F#FFFFFF#000000##FFFFFF
##1B2D9F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b2d9f;
/* rgb */ color: rgb(27, 45, 159);
/* oklch */ color: oklch(37.3% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#7166bd',
    500: '#1b2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d9f;
$custom-light: #7166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d9f",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 231.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37345,
    "c": 0.18268,
    "h": 268
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#1B2D9F
secondary
#C5B551
accent
#D53AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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