#1B347A#1B347A

#1B347A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.123 H 265.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#1B347A
RGBrgb(27, 52, 122)
HSLhsl(224, 64%, 29%)
HSVhsv(224, 78%, 48%)
CMYKcmyk(77.9%, 57.4%, 0%, 52.2%)
CIE-LABlab(23.98, 17.39, -42.69)
CIE-LCHlch(23.98, 46.09, 292.16°)
OKLaboklab(35.1% -0.0097 -0.123)
OKLCHoklch(35.1% 0.123 265.5)
XYZxyz(5.1916, 4.0936, 18.9251)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347A #7A611B
analogous
#1B647A #1B347A #321B7A
triadic
#1B347A #7A1B34 #347A1B
tetradic
#1B347A #7A1B64 #7A611B #1B7A32
square
#1B347A #7A1B64 #7A611B #1B7A32
split-complementary
#1B347A #7A321B #647A1B
monochromatic
#060B19 #101F48 #1B347A #2649AC #3C64D4

Accessibility & contrast

On white

11.55
#1B347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B347A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347A#FFFFFF#000000##FFFFFF
##1B347A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b347a;
/* rgb */ color: rgb(27, 52, 122);
/* oklch */ color: oklch(35.1% 0.123 265.5);
Tailwind
colors: {
  custom: {
    50: '#676ba1',
    500: '#1b347a',
    950: '#000000',
  },
}
SCSS
$custom: #1b347a;
$custom-light: #676ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347a",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 224.211,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.12343,
    "h": 265.5
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#1B347A
secondary
#AE9243
accent
#BB41E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347A

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

Preview Lab → · Contrast checker → · Palette generator →

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