#1B4198#1B4198

#1B4198 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.149 H 263.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1B4198
RGBrgb(27, 65, 152)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 60%)
CMYKcmyk(82.2%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.11, 20.46, -51.35)
CIE-LCHlch(30.11, 55.28, 291.72°)
OKLaboklab(40.48% -0.0172 -0.1483)
OKLCHoklch(40.48% 0.149 263.4)
XYZxyz(8.0078, 6.2796, 30.4897)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4198 #98721B
analogous
#1B7F98 #1B4198 #341B98
triadic
#1B4198 #981B41 #41981B
tetradic
#1B4198 #981B7F #98721B #1B9834
square
#1B4198 #981B7F #98721B #1B9834
split-complementary
#1B4198 #98341B #7F981B
monochromatic
#091530 #122B64 #1B4198 #2457CC #4E7AE0

Accessibility & contrast

On white

9.31
#1B4198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B4198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4198
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4198#FFFFFF#000000##FFFFFF
##1B41981.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4198;
/* rgb */ color: rgb(27, 65, 152);
/* oklch */ color: oklch(40.5% 0.149 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e75b7',
    500: '#1b4198',
    950: '#000000',
  },
}
SCSS
$custom: #1b4198;
$custom-light: #6e75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4198",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 221.76,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.14928,
    "h": 263.4
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#1B4198
secondary
#C29E4D
accent
#B73BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4198

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

Preview Lab → · Contrast checker → · Palette generator →

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