#1B3F90#1B3F90

#1B3F90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.141 H 263.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1B3F90
RGBrgb(27, 63, 144)
HSLhsl(222, 68%, 34%)
HSVhsv(222, 81%, 56%)
CMYKcmyk(81.3%, 56.3%, 0%, 43.5%)
CIE-LABlab(28.90, 18.61, -48.41)
CIE-LCHlch(28.90, 51.86, 291.03°)
OKLaboklab(39.37% -0.0164 -0.1397)
OKLCHoklch(39.37% 0.141 263.3)
XYZxyz(7.2617, 5.8008, 27.1171)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F90 #906C1B
analogous
#1B7990 #1B3F90 #311B90
triadic
#1B3F90 #901B3F #3F901B
tetradic
#1B3F90 #901B79 #906C1B #1B9031
square
#1B3F90 #901B79 #906C1B #1B9031
split-complementary
#1B3F90 #90311B #79901B
monochromatic
#081229 #11285C #1B3F90 #2556C4 #4976DD

Accessibility & contrast

On white

9.72
#1B3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F90
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F90#FFFFFF#000000##FFFFFF
##1B3F901.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3f90;
/* rgb */ color: rgb(27, 63, 144);
/* oklch */ color: oklch(39.4% 0.141 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c73b1',
    500: '#1b3f90',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f90;
$custom-light: #6c73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f90",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 221.538,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.14064,
    "h": 263.3
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#1B3F90
secondary
#BF9A48
accent
#B63DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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