#1B2CB3#1B2CB3

#1B2CB3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.208 H 267.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1B2CB3
RGBrgb(27, 44, 179)
HSLhsl(233, 74%, 40%)
HSVhsv(233, 85%, 70%)
CMYKcmyk(84.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(27.54, 44.26, -71.85)
CIE-LCHlch(27.54, 84.39, 301.63°)
OKLaboklab(39.37% -0.0085 -0.2083)
OKLCHoklch(39.37% 0.208 267.7)
XYZxyz(9.4865, 5.2879, 43.1598)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2CB3 #B3A21B
analogous
#1B78B3 #1B2CB3 #561BB3
triadic
#1B2CB3 #B31B2C #2CB31B
tetradic
#1B2CB3 #B31B78 #B3A21B #1BB356
square
#1B2CB3 #B31B78 #B3A21B #1BB356
split-complementary
#1B2CB3 #B3561B #78B31B
monochromatic
#0B1249 #131F7E #1B2CB3 #2C40DF #6170E7

Accessibility & contrast

On white

10.21
#1B2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2CB3
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2CB3#FFFFFF#000000##FFFFFF
##1B2CB31.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b2cb3;
/* rgb */ color: rgb(27, 44, 179);
/* oklch */ color: oklch(39.4% 0.208 267.7);
Tailwind
colors: {
  custom: {
    50: '#7766cb',
    500: '#1b2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #1b2cb3;
$custom-light: #7766cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2cb3",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 233.289,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.20844,
    "h": 267.7
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#1B2CB3
secondary
#CCBF5E
accent
#DC37F0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #1B2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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