#1B4195#1B4195

#1B4195 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.145 H 263.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1B4195
RGBrgb(27, 65, 149)
HSLhsl(221, 69%, 35%)
HSVhsv(221, 82%, 58%)
CMYKcmyk(81.9%, 56.4%, 0%, 41.6%)
CIE-LABlab(29.87, 19.25, -49.91)
CIE-LCHlch(29.87, 53.49, 291.09°)
OKLaboklab(40.22% -0.0174 -0.144)
OKLCHoklch(40.22% 0.145 263.1)
XYZxyz(7.7652, 6.1826, 29.2120)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4195 #956F1B
analogous
#1B7E95 #1B4195 #321B95
triadic
#1B4195 #951B41 #41951B
tetradic
#1B4195 #951B7E #956F1B #1B9532
square
#1B4195 #951B7E #956F1B #1B9532
split-complementary
#1B4195 #95321B #7E951B
monochromatic
#08142D #122A61 #1B4195 #2458C9 #4C7ADF

Accessibility & contrast

On white

9.39
#1B4195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4195
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4195#FFFFFF#000000##FFFFFF
##1B41951.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4195;
/* rgb */ color: rgb(27, 65, 149);
/* oklch */ color: oklch(40.2% 0.145 263.1);
Tailwind
colors: {
  custom: {
    50: '#6d75b5',
    500: '#1b4195',
    950: '#000000',
  },
}
SCSS
$custom: #1b4195;
$custom-light: #6d75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4195",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 221.311,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.1451,
    "h": 263.1
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#1B4195
secondary
#C19C4B
accent
#B53CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4195

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

Preview Lab → · Contrast checker → · Palette generator →

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