#1B3182#1B3182

#1B3182 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.139 H 267.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1B3182
RGBrgb(27, 49, 130)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 79%, 51%)
CMYKcmyk(79.2%, 62.3%, 0%, 49%)
CIE-LABlab(23.81, 22.73, -48.01)
CIE-LCHlch(23.81, 53.12, 295.33°)
OKLaboklab(35.18% -0.0071 -0.1388)
OKLCHoklch(35.18% 0.139 267.1)
XYZxyz(5.5782, 4.0407, 21.6007)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3182 #826C1B
analogous
#1B6482 #1B3182 #381B82
triadic
#1B3182 #821B31 #31821B
tetradic
#1B3182 #821B64 #826C1B #1B8238
square
#1B3182 #821B64 #826C1B #1B8238
split-complementary
#1B3182 #82381B #64821B
monochromatic
#060B1D #101E4F #1B3182 #2644B5 #4060D7

Accessibility & contrast

On white

11.61
#1B3182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3182
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3182#FFFFFF#000000##FFFFFF
##1B31821.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3182;
/* rgb */ color: rgb(27, 49, 130);
/* oklch */ color: oklch(35.2% 0.139 267.1);
Tailwind
colors: {
  custom: {
    50: '#6968a7',
    500: '#1b3182',
    950: '#000000',
  },
}
SCSS
$custom: #1b3182;
$custom-light: #6968a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3182",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 227.184,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35179,
    "c": 0.13893,
    "h": 267.1
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#1B3182
secondary
#B69D43
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3182

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

Preview Lab → · Contrast checker → · Palette generator →

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