#1B2FB4#1B2FB4

#1B2FB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 39.9% C 0.207 H 267.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B2FB4
RGBrgb(27, 47, 180)
HSLhsl(232, 74%, 41%)
HSVhsv(232, 85%, 71%)
CMYKcmyk(85%, 73.9%, 0%, 29.4%)
CIE-LABlab(28.27, 42.85, -71.23)
CIE-LCHlch(28.27, 83.13, 301.03°)
OKLaboklab(39.93% -0.0094 -0.2065)
OKLCHoklch(39.93% 0.207 267.4)
XYZxyz(9.7039, 5.5601, 43.7329)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2FB4 #B4A01B
analogous
#1B7BB4 #1B2FB4 #531BB4
triadic
#1B2FB4 #B41B2F #2FB41B
tetradic
#1B2FB4 #B41B7B #B4A01B #1BB453
square
#1B2FB4 #B41B7B #B4A01B #1BB453
split-complementary
#1B2FB4 #B4531B #7BB41B
monochromatic
#0B134A #13217F #1B2FB4 #2D44DF #6273E7

Accessibility & contrast

On white

9.94
#1B2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2FB4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2FB4#FFFFFF#000000##FFFFFF
##1B2FB41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b2fb4;
/* rgb */ color: rgb(27, 47, 180);
/* oklch */ color: oklch(39.9% 0.207 267.4);
Tailwind
colors: {
  custom: {
    50: '#7768cc',
    500: '#1b2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #1b2fb4;
$custom-light: #7768cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2fb4",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 232.157,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.2067,
    "h": 267.4
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#1B2FB4
secondary
#CCBE5F
accent
#D837F1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #1B2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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