#1B3A8F#1B3A8F

#1B3A8F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.146 H 264.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#1B3A8F
RGBrgb(27, 58, 143)
HSLhsl(224, 68%, 33%)
HSVhsv(224, 81%, 56%)
CMYKcmyk(81.1%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.41, 21.67, -50.22)
CIE-LCHlch(27.41, 54.70, 293.34°)
OKLaboklab(38.22% -0.0129 -0.1451)
OKLCHoklch(38.22% 0.146 264.9)
XYZxyz(6.9212, 5.2415, 26.6282)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A8F #8F701B
analogous
#1B748F #1B3A8F #361B8F
triadic
#1B3A8F #8F1B3A #3A8F1B
tetradic
#1B3A8F #8F1B74 #8F701B #1B8F36
square
#1B3A8F #8F1B74 #8F701B #1B8F36
split-complementary
#1B3A8F #8F361B #748F1B
monochromatic
#081028 #11255C #1B3A8F #254FC2 #4870DC

Accessibility & contrast

On white

10.25
#1B3A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3A8F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A8F#FFFFFF#000000##FFFFFF
##1B3A8F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3a8f;
/* rgb */ color: rgb(27, 58, 143);
/* oklch */ color: oklch(38.2% 0.146 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c6fb1',
    500: '#1b3a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a8f;
$custom-light: #6c6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a8f",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 223.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.14567,
    "h": 264.9
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#1B3A8F
secondary
#BE9E48
accent
#BC3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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