#1B2380#1B2380

#1B2380 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.153 H 270.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1B2380
RGBrgb(27, 35, 128)
HSLhsl(235, 65%, 30%)
HSVhsv(235, 79%, 50%)
CMYKcmyk(78.9%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.02, 31.45, -52.97)
CIE-LCHlch(20.02, 61.60, 300.70°)
OKLaboklab(32.34% 0.0016 -0.1533)
OKLCHoklch(32.34% 0.153 270.6)
XYZxyz(4.9480, 2.9930, 20.7348)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2380 #80781B
analogous
#1B5580 #1B2380 #461B80
triadic
#1B2380 #801B23 #23801B
tetradic
#1B2380 #801B55 #80781B #1B8046
square
#1B2380 #801B55 #80781B #1B8046
split-complementary
#1B2380 #80461B #55801B
monochromatic
#06071B #10154D #1B2380 #2631B3 #3F4BD6

Accessibility & contrast

On white

13.13
#1B2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2380
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2380#FFFFFF#000000##FFFFFF
##1B23801.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2380;
/* rgb */ color: rgb(27, 35, 128);
/* oklch */ color: oklch(32.3% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a5ea6',
    500: '#1b2380',
    950: '#000000',
  },
}
SCSS
$custom: #1b2380;
$custom-light: #6a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2380",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 235.248,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.15335,
    "h": 270.6
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#1B2380
secondary
#B4AB43
accent
#DB40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1B2380

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

Preview Lab → · Contrast checker → · Palette generator →

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