#1B348C#1B348C

#1B348C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.149 H 266.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1B348C
RGBrgb(27, 52, 140)
HSLhsl(227, 68%, 33%)
HSVhsv(227, 81%, 55%)
CMYKcmyk(80.7%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.51, 24.63, -51.48)
CIE-LCHlch(25.51, 57.06, 295.57°)
OKLaboklab(36.72% -0.009 -0.1489)
OKLCHoklch(36.72% 0.149 266.5)
XYZxyz(6.4120, 4.5817, 25.3523)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B348C #8C731B
analogous
#1B6C8C #1B348C #3B1B8C
triadic
#1B348C #8C1B34 #348C1B
tetradic
#1B348C #8C1B6C #8C731B #1B8C3B
square
#1B348C #8C1B6C #8C731B #1B8C3B
split-complementary
#1B348C #8C3B1B #6C8C1B
monochromatic
#070E25 #112159 #1B348C #2547BF #4667DB

Accessibility & contrast

On white

10.96
#1B348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B348C
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B348C#FFFFFF#000000##FFFFFF
##1B348C1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b348c;
/* rgb */ color: rgb(27, 52, 140);
/* oklch */ color: oklch(36.7% 0.149 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6bae',
    500: '#1b348c',
    950: '#000000',
  },
}
SCSS
$custom: #1b348c;
$custom-light: #6b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b348c",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 226.726,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.14913,
    "h": 266.5
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#1B348C
secondary
#BDA346
accent
#C43DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B348C

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

Preview Lab → · Contrast checker → · Palette generator →

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