#1B2BA0#1B2BA0

#1B2BA0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.186 H 268.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1B2BA0
RGBrgb(27, 43, 160)
HSLhsl(233, 71%, 37%)
HSVhsv(233, 83%, 63%)
CMYKcmyk(83.1%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.25, 38.15, -64.18)
CIE-LCHlch(25.25, 74.66, 300.73°)
OKLaboklab(37.13% -0.0058 -0.186)
OKLCHoklch(37.13% 0.186 268.2)
XYZxyz(7.6588, 4.4979, 33.7154)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2BA0 #A0901B
analogous
#1B6EA0 #1B2BA0 #4E1BA0
triadic
#1B2BA0 #A01B2B #2BA01B
tetradic
#1B2BA0 #A01B6E #A0901B #1BA04E
square
#1B2BA0 #A01B6E #A0901B #1BA04E
split-complementary
#1B2BA0 #A04E1B #6EA01B
monochromatic
#090F37 #121D6C #1B2BA0 #2439D4 #5365E2

Accessibility & contrast

On white

11.05
#1B2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2BA0
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2BA0#FFFFFF#000000##FFFFFF
##1B2BA01.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2ba0;
/* rgb */ color: rgb(27, 43, 160);
/* oklch */ color: oklch(37.1% 0.186 268.2);
Tailwind
colors: {
  custom: {
    50: '#7265bd',
    500: '#1b2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2ba0;
$custom-light: #7265bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2ba0",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 232.782,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.18609,
    "h": 268.2
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#1B2BA0
secondary
#C5B752
accent
#D83AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1B2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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