#1B3395#1B3395

#1B3395 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.163 H 267.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1B3395
RGBrgb(27, 51, 149)
HSLhsl(228, 69%, 35%)
HSVhsv(228, 82%, 58%)
CMYKcmyk(81.9%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.07, 28.84, -56.11)
CIE-LCHlch(26.07, 63.09, 297.20°)
OKLaboklab(37.39% -0.0086 -0.1624)
OKLCHoklch(37.39% 0.163 267)
XYZxyz(7.0587, 4.7698, 28.9766)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3395 #957D1B
analogous
#1B7095 #1B3395 #401B95
triadic
#1B3395 #951B33 #33951B
tetradic
#1B3395 #951B70 #957D1B #1B9540
square
#1B3395 #951B70 #957D1B #1B9540
split-complementary
#1B3395 #95401B #70951B
monochromatic
#08102D #122161 #1B3395 #2445C9 #4C69DF

Accessibility & contrast

On white

10.75
#1B3395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B3395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3395
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3395#FFFFFF#000000##FFFFFF
##1B33951.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3395;
/* rgb */ color: rgb(27, 51, 149);
/* oklch */ color: oklch(37.4% 0.163 267.0);
Tailwind
colors: {
  custom: {
    50: '#6e6ab5',
    500: '#1b3395',
    950: '#000000',
  },
}
SCSS
$custom: #1b3395;
$custom-light: #6e6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3395",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 228.197,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.16268,
    "h": 267
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#1B3395
secondary
#C1AA4B
accent
#C93CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3395

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

Preview Lab → · Contrast checker → · Palette generator →

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