#1B348D#1B348D

#1B348D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.151 H 266.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1B348D
RGBrgb(27, 52, 141)
HSLhsl(227, 68%, 33%)
HSVhsv(227, 81%, 55%)
CMYKcmyk(80.9%, 63.1%, 0%, 44.7%)
CIE-LABlab(25.60, 25.02, -51.95)
CIE-LCHlch(25.60, 57.66, 295.72°)
OKLaboklab(36.81% -0.009 -0.1502)
OKLCHoklch(36.81% 0.151 266.6)
XYZxyz(6.4860, 4.6113, 25.7424)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B348D #8D741B
analogous
#1B6D8D #1B348D #3B1B8D
triadic
#1B348D #8D1B34 #348D1B
tetradic
#1B348D #8D1B6D #8D741B #1B8D3B
square
#1B348D #8D1B6D #8D741B #1B8D3B
split-complementary
#1B348D #8D3B1B #6D8D1B
monochromatic
#070E26 #11215A #1B348D #2547C0 #4767DC

Accessibility & contrast

On white

10.92
#1B348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B348D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B348D#FFFFFF#000000##FFFFFF
##1B348D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b348d;
/* rgb */ color: rgb(27, 52, 141);
/* oklch */ color: oklch(36.8% 0.151 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6baf',
    500: '#1b348d',
    950: '#000000',
  },
}
SCSS
$custom: #1b348d;
$custom-light: #6c6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b348d",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 226.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.15052,
    "h": 266.6
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#1B348D
secondary
#BDA346
accent
#C53DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B348D

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

Preview Lab → · Contrast checker → · Palette generator →

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