#1B3574#1B3574

#1B3574 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.113 H 264.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1B3574
RGBrgb(27, 53, 116)
HSLhsl(222, 62%, 28%)
HSVhsv(222, 77%, 45%)
CMYKcmyk(76.7%, 54.3%, 0%, 54.5%)
CIE-LABlab(23.80, 14.23, -39.16)
CIE-LCHlch(23.80, 41.67, 289.97°)
OKLaboklab(34.82% -0.0111 -0.1127)
OKLCHoklch(34.82% 0.113 264.4)
XYZxyz(4.8764, 4.0396, 17.0423)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3574 #745A1B
analogous
#1B6174 #1B3574 #2D1B74
triadic
#1B3574 #741B35 #35741B
tetradic
#1B3574 #741B61 #745A1B #1B742D
square
#1B3574 #741B61 #745A1B #1B742D
split-complementary
#1B3574 #742D1B #61741B
monochromatic
#060B19 #0F1E42 #1B3574 #274CA6 #3965D1

Accessibility & contrast

On white

11.62
#1B3574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3574
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3574#FFFFFF#000000##FFFFFF
##1B35741.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3574;
/* rgb */ color: rgb(27, 53, 116);
/* oklch */ color: oklch(34.8% 0.113 264.4);
Tailwind
colors: {
  custom: {
    50: '#656b9c',
    500: '#1b3574',
    950: '#000000',
  },
}
SCSS
$custom: #1b3574;
$custom-light: #656b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3574",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 222.472,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34815,
    "c": 0.1132,
    "h": 264.4
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#1B3574
secondary
#A98B42
accent
#B642E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3574

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

Preview Lab → · Contrast checker → · Palette generator →

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