#1B3A90#1B3A90

#1B3A90 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.147 H 265.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#1B3A90
RGBrgb(27, 58, 144)
HSLhsl(224, 68%, 34%)
HSVhsv(224, 81%, 56%)
CMYKcmyk(81.3%, 59.7%, 0%, 43.5%)
CIE-LABlab(27.50, 22.07, -50.70)
CIE-LCHlch(27.50, 55.30, 293.53°)
OKLaboklab(38.31% -0.0129 -0.1465)
OKLCHoklch(38.31% 0.147 265)
XYZxyz(6.9973, 5.2719, 27.0289)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A90 #90711B
analogous
#1B7490 #1B3A90 #371B90
triadic
#1B3A90 #901B3A #3A901B
tetradic
#1B3A90 #901B74 #90711B #1B9037
square
#1B3A90 #901B74 #90711B #1B9037
split-complementary
#1B3A90 #90371B #74901B
monochromatic
#081029 #11255C #1B3A90 #254FC4 #4970DD

Accessibility & contrast

On white

10.22
#1B3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1B3A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A90
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A90#FFFFFF#000000##FFFFFF
##1B3A901.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3a90;
/* rgb */ color: rgb(27, 58, 144);
/* oklch */ color: oklch(38.3% 0.147 265.0);
Tailwind
colors: {
  custom: {
    50: '#6c6fb1',
    500: '#1b3a90',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a90;
$custom-light: #6c6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a90",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 224.103,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3831,
    "c": 0.14706,
    "h": 265
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#1B3A90
secondary
#BF9F48
accent
#BD3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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