#1B3495#1B3495

#1B3495 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.161 H 266.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#1B3495
RGBrgb(27, 52, 149)
HSLhsl(228, 69%, 35%)
HSVhsv(228, 82%, 58%)
CMYKcmyk(81.9%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.33, 28.16, -55.69)
CIE-LCHlch(26.33, 62.41, 296.83°)
OKLaboklab(37.58% -0.0091 -0.1612)
OKLCHoklch(37.58% 0.161 266.8)
XYZxyz(7.1029, 4.8581, 28.9913)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3495 #957C1B
analogous
#1B7195 #1B3495 #3F1B95
triadic
#1B3495 #951B34 #34951B
tetradic
#1B3495 #951B71 #957C1B #1B953F
square
#1B3495 #951B71 #957C1B #1B953F
split-complementary
#1B3495 #953F1B #71951B
monochromatic
#08102D #122261 #1B3495 #2446C9 #4C6ADF

Accessibility & contrast

On white

10.65
#1B3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3495
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3495#FFFFFF#000000##FFFFFF
##1B34951.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3495;
/* rgb */ color: rgb(27, 52, 149);
/* oklch */ color: oklch(37.6% 0.161 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e6bb5',
    500: '#1b3495',
    950: '#000000',
  },
}
SCSS
$custom: #1b3495;
$custom-light: #6e6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3495",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 227.705,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.16146,
    "h": 266.8
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#1B3495
secondary
#C1A94B
accent
#C83CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3495

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

Preview Lab → · Contrast checker → · Palette generator →

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