#1B3B95#1B3B95

#1B3B95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.153 H 265.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1B3B95
RGBrgb(27, 59, 149)
HSLhsl(224, 69%, 35%)
HSVhsv(224, 82%, 58%)
CMYKcmyk(81.9%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.19, 23.38, -52.63)
CIE-LCHlch(28.19, 57.59, 293.95°)
OKLaboklab(38.96% -0.0133 -0.1522)
OKLCHoklch(38.96% 0.153 265)
XYZxyz(7.4389, 5.5300, 29.1033)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B95 #95751B
analogous
#1B7895 #1B3B95 #381B95
triadic
#1B3B95 #951B3B #3B951B
tetradic
#1B3B95 #951B78 #95751B #1B9538
square
#1B3B95 #951B78 #95751B #1B9538
split-complementary
#1B3B95 #95381B #78951B
monochromatic
#08122D #122661 #1B3B95 #2450C9 #4C72DF

Accessibility & contrast

On white

9.97
#1B3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B95
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B95#FFFFFF#000000##FFFFFF
##1B3B951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3b95;
/* rgb */ color: rgb(27, 59, 149);
/* oklch */ color: oklch(39.0% 0.153 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d70b5',
    500: '#1b3b95',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b95;
$custom-light: #6d70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b95",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 224.262,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.15274,
    "h": 265
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#1B3B95
secondary
#C1A24B
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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