#1B3695#1B3695

#1B3695 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.159 H 266.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1B3695
RGBrgb(27, 54, 149)
HSLhsl(227, 69%, 35%)
HSVhsv(227, 82%, 58%)
CMYKcmyk(81.9%, 63.8%, 0%, 41.6%)
CIE-LABlab(26.85, 26.81, -54.83)
CIE-LCHlch(26.85, 61.03, 296.05°)
OKLaboklab(37.96% -0.0103 -0.1587)
OKLCHoklch(37.96% 0.159 266.3)
XYZxyz(7.1941, 5.0404, 29.0217)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3695 #957A1B
analogous
#1B7395 #1B3695 #3D1B95
triadic
#1B3695 #951B36 #36951B
tetradic
#1B3695 #951B73 #957A1B #1B953D
square
#1B3695 #951B73 #957A1B #1B953D
split-complementary
#1B3695 #953D1B #73951B
monochromatic
#08102D #122361 #1B3695 #2449C9 #4C6CDF

Accessibility & contrast

On white

10.46
#1B3695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3695
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3695#FFFFFF#000000##FFFFFF
##1B36951.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3695;
/* rgb */ color: rgb(27, 54, 149);
/* oklch */ color: oklch(38.0% 0.159 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e6cb5',
    500: '#1b3695',
    950: '#000000',
  },
}
SCSS
$custom: #1b3695;
$custom-light: #6e6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3695",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 226.721,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.159,
    "h": 266.3
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#1B3695
secondary
#C1A74B
accent
#C53CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3695

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

Preview Lab → · Contrast checker → · Palette generator →

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