#1B347D#1B347D

#1B347D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.128 H 265.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1B347D
RGBrgb(27, 52, 125)
HSLhsl(225, 64%, 30%)
HSVhsv(225, 78%, 49%)
CMYKcmyk(78.4%, 58.4%, 0%, 51%)
CIE-LABlab(24.22, 18.61, -44.19)
CIE-LCHlch(24.22, 47.95, 292.84°)
OKLaboklab(35.36% -0.0095 -0.1275)
OKLCHoklch(35.36% 0.128 265.7)
XYZxyz(5.3804, 4.1691, 19.9192)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347D #7D641B
analogous
#1B657D #1B347D #331B7D
triadic
#1B347D #7D1B34 #347D1B
tetradic
#1B347D #7D1B65 #7D641B #1B7D33
square
#1B347D #7D1B65 #7D641B #1B7D33
split-complementary
#1B347D #7D331B #657D1B
monochromatic
#050A19 #101F4B #1B347D #2649AF #3D64D5

Accessibility & contrast

On white

11.45
#1B347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B347D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347D#FFFFFF#000000##FFFFFF
##1B347D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b347d;
/* rgb */ color: rgb(27, 52, 125);
/* oklch */ color: oklch(35.4% 0.128 265.7);
Tailwind
colors: {
  custom: {
    50: '#676ba3',
    500: '#1b347d',
    950: '#000000',
  },
}
SCSS
$custom: #1b347d;
$custom-light: #676ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347d",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 224.694,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.12781,
    "h": 265.7
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#1B347D
secondary
#B19543
accent
#BD40E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347D

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

Preview Lab → · Contrast checker → · Palette generator →

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