#1B3D90#1B3D90

#1B3D90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.143 H 264.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1B3D90
RGBrgb(27, 61, 144)
HSLhsl(223, 68%, 34%)
HSVhsv(223, 81%, 56%)
CMYKcmyk(81.3%, 57.6%, 0%, 43.5%)
CIE-LABlab(28.34, 20.00, -49.33)
CIE-LCHlch(28.34, 53.23, 292.06°)
OKLaboklab(38.94% -0.0149 -0.1424)
OKLCHoklch(38.94% 0.143 264)
XYZxyz(7.1530, 5.5833, 27.0808)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D90 #906E1B
analogous
#1B7790 #1B3D90 #331B90
triadic
#1B3D90 #901B3D #3D901B
tetradic
#1B3D90 #901B77 #906E1B #1B9033
square
#1B3D90 #901B77 #906E1B #1B9033
split-complementary
#1B3D90 #90331B #77901B
monochromatic
#081129 #11275C #1B3D90 #2553C4 #4974DD

Accessibility & contrast

On white

9.92
#1B3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D90
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D90#FFFFFF#000000##FFFFFF
##1B3D901.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3d90;
/* rgb */ color: rgb(27, 61, 144);
/* oklch */ color: oklch(38.9% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c72b1',
    500: '#1b3d90',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d90;
$custom-light: #6c72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d90",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 222.564,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.14321,
    "h": 264
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#1B3D90
secondary
#BF9C48
accent
#B83DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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