#1B2AB3#1B2AB3

#1B2AB3 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.210 H 267.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2AB3
RGBrgb(27, 42, 179)
HSLhsl(234, 74%, 40%)
HSVhsv(234, 85%, 70%)
CMYKcmyk(84.9%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.14, 45.40, -72.51)
CIE-LCHlch(27.14, 85.56, 302.05°)
OKLaboklab(39.09% -0.008 -0.2102)
OKLCHoklch(39.09% 0.21 267.8)
XYZxyz(9.4138, 5.1425, 43.1355)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2AB3 #B3A41B
analogous
#1B76B3 #1B2AB3 #581BB3
triadic
#1B2AB3 #B31B2A #2AB31B
tetradic
#1B2AB3 #B31B76 #B3A41B #1BB358
square
#1B2AB3 #B31B76 #B3A41B #1BB358
split-complementary
#1B2AB3 #B3581B #76B31B
monochromatic
#0B1149 #131E7E #1B2AB3 #2C3EDF #616EE7

Accessibility & contrast

On white

10.35
#1B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2AB3
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2AB3#FFFFFF#000000##FFFFFF
##1B2AB31.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b2ab3;
/* rgb */ color: rgb(27, 42, 179);
/* oklch */ color: oklch(39.1% 0.210 267.8);
Tailwind
colors: {
  custom: {
    50: '#7765cb',
    500: '#1b2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #1b2ab3;
$custom-light: #7765cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2ab3",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 234.079,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.21033,
    "h": 267.8
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#1B2AB3
secondary
#CCC15E
accent
#DE37F0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #1B2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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