#1B347B#1B347B

#1B347B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.125 H 265.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1B347B
RGBrgb(27, 52, 123)
HSLhsl(224, 64%, 29%)
HSVhsv(224, 78%, 48%)
CMYKcmyk(78%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.06, 17.80, -43.19)
CIE-LCHlch(24.06, 46.71, 292.39°)
OKLaboklab(35.18% -0.0096 -0.1245)
OKLCHoklch(35.18% 0.125 265.6)
XYZxyz(5.2539, 4.1185, 19.2531)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347B #7B621B
analogous
#1B647B #1B347B #321B7B
triadic
#1B347B #7B1B34 #347B1B
tetradic
#1B347B #7B1B64 #7B621B #1B7B32
square
#1B347B #7B1B64 #7B621B #1B7B32
split-complementary
#1B347B #7B321B #647B1B
monochromatic
#060B19 #101F49 #1B347B #2649AD #3C64D4

Accessibility & contrast

On white

11.51
#1B347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B347B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347B#FFFFFF#000000##FFFFFF
##1B347B1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b347b;
/* rgb */ color: rgb(27, 52, 123);
/* oklch */ color: oklch(35.2% 0.125 265.6);
Tailwind
colors: {
  custom: {
    50: '#676ba2',
    500: '#1b347b',
    950: '#000000',
  },
}
SCSS
$custom: #1b347b;
$custom-light: #676ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347b",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 224.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.1249,
    "h": 265.6
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#1B347B
secondary
#AF9343
accent
#BC41E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347B

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

Preview Lab → · Contrast checker → · Palette generator →

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