#1B3F94#1B3F94

#1B3F94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.146 H 263.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1B3F94
RGBrgb(27, 63, 148)
HSLhsl(222, 69%, 34%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(81.8%, 57.4%, 0%, 42%)
CIE-LABlab(29.22, 20.23, -50.35)
CIE-LCHlch(29.22, 54.26, 291.89°)
OKLaboklab(39.71% -0.0161 -0.1454)
OKLCHoklch(39.71% 0.146 263.7)
XYZxyz(7.5729, 5.9252, 28.7558)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F94 #94701B
analogous
#1B7C94 #1B3F94 #341B94
triadic
#1B3F94 #941B3F #3F941B
tetradic
#1B3F94 #941B7C #94701B #1B9434
square
#1B3F94 #941B7C #94701B #1B9434
split-complementary
#1B3F94 #94341B #7C941B
monochromatic
#08132C #122960 #1B3F94 #2455C8 #4B77DE

Accessibility & contrast

On white

9.61
#1B3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B3F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F94
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F94#FFFFFF#000000##FFFFFF
##1B3F941.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3f94;
/* rgb */ color: rgb(27, 63, 148);
/* oklch */ color: oklch(39.7% 0.146 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d73b4',
    500: '#1b3f94',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f94;
$custom-light: #6d73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f94",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 222.149,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.14626,
    "h": 263.7
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#1B3F94
secondary
#C09D4B
accent
#B83CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F94

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

Preview Lab → · Contrast checker → · Palette generator →

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