#1B2EB4#1B2EB4

#1B2EB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.208 H 267.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1B2EB4
RGBrgb(27, 46, 180)
HSLhsl(233, 74%, 41%)
HSVhsv(233, 85%, 71%)
CMYKcmyk(85%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.06, 43.44, -71.58)
CIE-LCHlch(28.06, 83.73, 301.25°)
OKLaboklab(39.78% -0.0091 -0.2075)
OKLCHoklch(39.78% 0.208 267.5)
XYZxyz(9.6644, 5.4811, 43.7198)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2EB4 #B4A11B
analogous
#1B7AB4 #1B2EB4 #541BB4
triadic
#1B2EB4 #B41B2E #2EB41B
tetradic
#1B2EB4 #B41B7A #B4A11B #1BB454
square
#1B2EB4 #B41B7A #B4A11B #1BB454
split-complementary
#1B2EB4 #B4541B #7AB41B
monochromatic
#0B134A #13207F #1B2EB4 #2D43DF #6273E7

Accessibility & contrast

On white

10.02
#1B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2EB4
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2EB4#FFFFFF#000000##FFFFFF
##1B2EB41.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2eb4;
/* rgb */ color: rgb(27, 46, 180);
/* oklch */ color: oklch(39.8% 0.208 267.5);
Tailwind
colors: {
  custom: {
    50: '#7768cc',
    500: '#1b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #1b2eb4;
$custom-light: #7768cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2eb4",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 232.549,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.2077,
    "h": 267.5
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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