#1B4095#1B4095

#1B4095 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.146 H 263.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1B4095
RGBrgb(27, 64, 149)
HSLhsl(222, 69%, 35%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(81.9%, 57%, 0%, 41.6%)
CIE-LABlab(29.59, 19.94, -50.37)
CIE-LCHlch(29.59, 54.17, 291.60°)
OKLaboklab(40.01% -0.0167 -0.1454)
OKLCHoklch(40.01% 0.146 263.5)
XYZxyz(7.7083, 6.0688, 29.1931)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4095 #95701B
analogous
#1B7D95 #1B4095 #331B95
triadic
#1B4095 #951B40 #40951B
tetradic
#1B4095 #951B7D #95701B #1B9533
square
#1B4095 #951B7D #95701B #1B9533
split-complementary
#1B4095 #95331B #7D951B
monochromatic
#08132D #122A61 #1B4095 #2456C9 #4C78DF

Accessibility & contrast

On white

9.49
#1B4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4095
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4095#FFFFFF#000000##FFFFFF
##1B40951.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4095;
/* rgb */ color: rgb(27, 64, 149);
/* oklch */ color: oklch(40.0% 0.146 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d74b5',
    500: '#1b4095',
    950: '#000000',
  },
}
SCSS
$custom: #1b4095;
$custom-light: #6d74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4095",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 221.803,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.14637,
    "h": 263.5
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#1B4095
secondary
#C19D4B
accent
#B73CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4095

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

Preview Lab → · Contrast checker → · Palette generator →

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