#1B2A83#1B2A83

#1B2A83 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.149 H 269.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1B2A83
RGBrgb(27, 42, 131)
HSLhsl(231, 66%, 31%)
HSVhsv(231, 79%, 51%)
CMYKcmyk(79.4%, 67.9%, 0%, 48.6%)
CIE-LABlab(22.04, 27.95, -51.53)
CIE-LCHlch(22.04, 58.62, 298.47°)
OKLaboklab(33.91% -0.0026 -0.1491)
OKLCHoklch(33.91% 0.149 269)
XYZxyz(5.3753, 3.5270, 21.8658)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A83 #83741B
analogous
#1B5E83 #1B2A83 #401B83
triadic
#1B2A83 #831B2A #2A831B
tetradic
#1B2A83 #831B5E #83741B #1B8340
square
#1B2A83 #831B5E #83741B #1B8340
split-complementary
#1B2A83 #83401B #5E831B
monochromatic
#06091E #111A50 #1B2A83 #253AB6 #4156D8

Accessibility & contrast

On white

12.31
#1B2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A83
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A83#FFFFFF#000000##FFFFFF
##1B2A831.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2a83;
/* rgb */ color: rgb(27, 42, 131);
/* oklch */ color: oklch(33.9% 0.149 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a63a8',
    500: '#1b2a83',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a83;
$custom-light: #6a63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a83",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 231.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.14914,
    "h": 269
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#1B2A83
secondary
#B6A643
accent
#D03FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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