#1B3296#1B3296

#1B3296 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.165 H 267.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1B3296
RGBrgb(27, 50, 150)
HSLhsl(229, 69%, 35%)
HSVhsv(229, 82%, 59%)
CMYKcmyk(82%, 66.7%, 0%, 41.2%)
CIE-LABlab(25.91, 29.90, -56.99)
CIE-LCHlch(25.91, 64.36, 297.68°)
OKLaboklab(37.3% -0.0081 -0.165)
OKLCHoklch(37.3% 0.165 267.2)
XYZxyz(7.0957, 4.7154, 29.3844)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3296 #967F1B
analogous
#1B7096 #1B3296 #411B96
triadic
#1B3296 #961B32 #32961B
tetradic
#1B3296 #961B70 #967F1B #1B9641
square
#1B3296 #961B70 #967F1B #1B9641
split-complementary
#1B3296 #96411B #70961B
monochromatic
#080F2E #122162 #1B3296 #2443CA #4D68DF

Accessibility & contrast

On white

10.81
#1B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3296
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3296#FFFFFF#000000##FFFFFF
##1B32961.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3296;
/* rgb */ color: rgb(27, 50, 150);
/* oklch */ color: oklch(37.3% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e69b6',
    500: '#1b3296',
    950: '#000000',
  },
}
SCSS
$custom: #1b3296;
$custom-light: #6e69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3296",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 228.78,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37298,
    "c": 0.16522,
    "h": 267.2
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#1B3296
secondary
#C1AB4C
accent
#CB3BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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