#1B347C#1B347C

#1B347C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.126 H 265.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1B347C
RGBrgb(27, 52, 124)
HSLhsl(225, 64%, 30%)
HSVhsv(225, 78%, 49%)
CMYKcmyk(78.2%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.14, 18.20, -43.69)
CIE-LCHlch(24.14, 47.33, 292.62°)
OKLaboklab(35.27% -0.0095 -0.126)
OKLCHoklch(35.27% 0.126 265.7)
XYZxyz(5.3168, 4.1436, 19.5845)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347C #7C631B
analogous
#1B657C #1B347C #331B7C
triadic
#1B347C #7C1B34 #347C1B
tetradic
#1B347C #7C1B65 #7C631B #1B7C33
square
#1B347C #7C1B65 #7C631B #1B7C33
split-complementary
#1B347C #7C331B #657C1B
monochromatic
#050B19 #101F4A #1B347C #2649AE #3D64D5

Accessibility & contrast

On white

11.48
#1B347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B347C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347C#FFFFFF#000000##FFFFFF
##1B347C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b347c;
/* rgb */ color: rgb(27, 52, 124);
/* oklch */ color: oklch(35.3% 0.126 265.7);
Tailwind
colors: {
  custom: {
    50: '#676ba3',
    500: '#1b347c',
    950: '#000000',
  },
}
SCSS
$custom: #1b347c;
$custom-light: #676ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347c",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 224.536,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35271,
    "c": 0.12636,
    "h": 265.7
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#1B347C
secondary
#B09443
accent
#BC41E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347C

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

Preview Lab → · Contrast checker → · Palette generator →

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