#1B347E#1B347E

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

Color values

HEX#1B347E
RGBrgb(27, 52, 126)
HSLhsl(225, 65%, 30%)
HSVhsv(225, 79%, 49%)
CMYKcmyk(78.6%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.30, 19.02, -44.68)
CIE-LCHlch(24.30, 48.56, 293.05°)
OKLaboklab(35.45% -0.0094 -0.1289)
OKLCHoklch(35.45% 0.129 265.8)
XYZxyz(5.4446, 4.1947, 20.2573)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B347E #7E651B
analogous
#1B667E #1B347E #331B7E
triadic
#1B347E #7E1B34 #347E1B
tetradic
#1B347E #7E1B66 #7E651B #1B7E33
square
#1B347E #7E1B66 #7E651B #1B7E33
split-complementary
#1B347E #7E331B #667E1B
monochromatic
#050A19 #101F4C #1B347E #2649B0 #3E64D6

Accessibility & contrast

On white

11.42
#1B347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B347E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B347E#FFFFFF#000000##FFFFFF
##1B347E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b347e;
/* rgb */ color: rgb(27, 52, 126);
/* oklch */ color: oklch(35.4% 0.129 265.8);
Tailwind
colors: {
  custom: {
    50: '#686ba4',
    500: '#1b347e',
    950: '#000000',
  },
}
SCSS
$custom: #1b347e;
$custom-light: #686ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b347e",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 224.848,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.12926,
    "h": 265.8
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#1B347E
secondary
#B29643
accent
#BD40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B347E

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

Preview Lab → · Contrast checker → · Palette generator →

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