#1B2EA0#1B2EA0

#1B2EA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 267.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#1B2EA0
RGBrgb(27, 46, 160)
HSLhsl(231, 71%, 37%)
HSVhsv(231, 83%, 63%)
CMYKcmyk(83.1%, 71.2%, 0%, 37.3%)
CIE-LABlab(25.93, 36.27, -63.06)
CIE-LCHlch(25.93, 72.75, 299.91°)
OKLaboklab(37.62% -0.0069 -0.1827)
OKLCHoklch(37.62% 0.183 267.8)
XYZxyz(7.7720, 4.7241, 33.7531)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2EA0 #A08D1B
analogous
#1B71A0 #1B2EA0 #4B1BA0
triadic
#1B2EA0 #A01B2E #2EA01B
tetradic
#1B2EA0 #A01B71 #A08D1B #1BA04B
square
#1B2EA0 #A01B71 #A08D1B #1BA04B
split-complementary
#1B2EA0 #A04B1B #71A01B
monochromatic
#091037 #121F6C #1B2EA0 #243DD4 #5368E2

Accessibility & contrast

On white

10.80
#1B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2EA0
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2EA0#FFFFFF#000000##FFFFFF
##1B2EA01.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b2ea0;
/* rgb */ color: rgb(27, 46, 160);
/* oklch */ color: oklch(37.6% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#7167bd',
    500: '#1b2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2ea0;
$custom-light: #7167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2ea0",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 231.429,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.18287,
    "h": 267.8
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#1B2EA0
secondary
#C5B552
accent
#D43AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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