#1B3595#1B3595

#1B3595 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.160 H 266.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1B3595
RGBrgb(27, 53, 149)
HSLhsl(227, 69%, 35%)
HSVhsv(227, 82%, 58%)
CMYKcmyk(81.9%, 64.4%, 0%, 41.6%)
CIE-LABlab(26.59, 27.49, -55.26)
CIE-LCHlch(26.59, 61.72, 296.44°)
OKLaboklab(37.77% -0.0097 -0.1599)
OKLCHoklch(37.77% 0.16 266.5)
XYZxyz(7.1480, 4.9483, 29.0063)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3595 #957B1B
analogous
#1B7295 #1B3595 #3E1B95
triadic
#1B3595 #951B35 #35951B
tetradic
#1B3595 #951B72 #957B1B #1B953E
square
#1B3595 #951B72 #957B1B #1B953E
split-complementary
#1B3595 #953E1B #72951B
monochromatic
#08102D #122361 #1B3595 #2447C9 #4C6BDF

Accessibility & contrast

On white

10.55
#1B3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B3595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3595
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3595#FFFFFF#000000##FFFFFF
##1B35951.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3595;
/* rgb */ color: rgb(27, 53, 149);
/* oklch */ color: oklch(37.8% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e6cb5',
    500: '#1b3595',
    950: '#000000',
  },
}
SCSS
$custom: #1b3595;
$custom-light: #6e6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3595",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 227.213,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.16023,
    "h": 266.5
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#1B3595
secondary
#C1A84B
accent
#C73CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3595

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

Preview Lab → · Contrast checker → · Palette generator →

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