#1B347F#1B347F

#1B347F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.131 H 265.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1B347F
RGBrgb(27, 52, 127)
HSLhsl(225, 65%, 30%)
HSVhsv(225, 79%, 50%)
CMYKcmyk(78.7%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.39, 19.42, -45.18)
CIE-LCHlch(24.39, 49.17, 293.26°)
OKLaboklab(35.53% -0.0094 -0.1304)
OKLCHoklch(35.53% 0.131 265.9)
XYZxyz(5.5094, 4.2207, 20.5989)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347F #7F661B
analogous
#1B667F #1B347F #341B7F
triadic
#1B347F #7F1B34 #347F1B
tetradic
#1B347F #7F1B66 #7F661B #1B7F34
square
#1B347F #7F1B66 #7F661B #1B7F34
split-complementary
#1B347F #7F341B #667F1B
monochromatic
#060B1A #101F4D #1B347F #2649B1 #3E64D6

Accessibility & contrast

On white

11.39
#1B347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B347F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347F#FFFFFF#000000##FFFFFF
##1B347F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b347f;
/* rgb */ color: rgb(27, 52, 127);
/* oklch */ color: oklch(35.5% 0.131 265.9);
Tailwind
colors: {
  custom: {
    50: '#686ba5',
    500: '#1b347f',
    950: '#000000',
  },
}
SCSS
$custom: #1b347f;
$custom-light: #686ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347f",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 225,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.13072,
    "h": 265.9
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#1B347F
secondary
#B39743
accent
#BE40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347F

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

Preview Lab → · Contrast checker → · Palette generator →

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