#1B3183#1B3183

#1B3183 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.140 H 267.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3183
RGBrgb(27, 49, 131)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 79%, 51%)
CMYKcmyk(79.4%, 62.6%, 0%, 48.6%)
CIE-LABlab(23.89, 23.13, -48.50)
CIE-LCHlch(23.89, 53.73, 295.50°)
OKLaboklab(35.27% -0.0071 -0.1402)
OKLCHoklch(35.27% 0.14 267.1)
XYZxyz(5.6456, 4.0677, 21.9559)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3183 #836D1B
analogous
#1B6583 #1B3183 #391B83
triadic
#1B3183 #831B31 #31831B
tetradic
#1B3183 #831B65 #836D1B #1B8339
square
#1B3183 #831B65 #836D1B #1B8339
split-complementary
#1B3183 #83391B #65831B
monochromatic
#060B1E #111E50 #1B3183 #2544B6 #4161D8

Accessibility & contrast

On white

11.58
#1B3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3183
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3183#FFFFFF#000000##FFFFFF
##1B31831.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3183;
/* rgb */ color: rgb(27, 49, 131);
/* oklch */ color: oklch(35.3% 0.140 267.1);
Tailwind
colors: {
  custom: {
    50: '#6968a8',
    500: '#1b3183',
    950: '#000000',
  },
}
SCSS
$custom: #1b3183;
$custom-light: #6968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3183",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 227.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.14035,
    "h": 267.1
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#1B3183
secondary
#B69E43
accent
#C53FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3183

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

Preview Lab → · Contrast checker → · Palette generator →

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