#1B3F93#1B3F93

#1B3F93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.145 H 263.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1B3F93
RGBrgb(27, 63, 147)
HSLhsl(222, 69%, 34%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(81.6%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.14, 19.82, -49.86)
CIE-LCHlch(29.14, 53.66, 291.68°)
OKLaboklab(39.63% -0.0161 -0.1439)
OKLCHoklch(39.63% 0.145 263.6)
XYZxyz(7.4941, 5.8937, 28.3407)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F93 #936F1B
analogous
#1B7B93 #1B3F93 #331B93
triadic
#1B3F93 #931B3F #3F931B
tetradic
#1B3F93 #931B7B #936F1B #1B9333
square
#1B3F93 #931B7B #936F1B #1B9333
split-complementary
#1B3F93 #93331B #7B931B
monochromatic
#08132C #12295F #1B3F93 #2455C7 #4B77DE

Accessibility & contrast

On white

9.64
#1B3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F93
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F93#FFFFFF#000000##FFFFFF
##1B3F931.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3f93;
/* rgb */ color: rgb(27, 63, 147);
/* oklch */ color: oklch(39.6% 0.145 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c73b3',
    500: '#1b3f93',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f93;
$custom-light: #6c73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f93",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 222,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.14485,
    "h": 263.6
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#1B3F93
secondary
#C09C4A
accent
#B73CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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