#1B346A#1B346A

#1B346A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.099 H 263.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1B346A
RGBrgb(27, 52, 106)
HSLhsl(221, 59%, 26%)
HSVhsv(221, 75%, 42%)
CMYKcmyk(74.5%, 50.9%, 0%, 58.4%)
CIE-LABlab(22.76, 10.84, -34.43)
CIE-LCHlch(22.76, 36.10, 287.48°)
OKLaboklab(33.78% -0.0115 -0.0988)
OKLCHoklch(33.78% 0.099 263.4)
XYZxyz(4.2806, 3.7292, 14.1271)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B346A #6A511B
analogous
#1B5B6A #1B346A #291B6A
triadic
#1B346A #6A1B34 #346A1B
tetradic
#1B346A #6A1B5B #6A511B #1B6A29
square
#1B346A #6A1B5B #6A511B #1B6A29
split-complementary
#1B346A #6A291B #5B6A1B
monochromatic
#060C18 #0F1C39 #1B346A #274C9B #3464CB

Accessibility & contrast

On white

12.03
#1B346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B346A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B346A#FFFFFF#000000##FFFFFF
##1B346A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#023369
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b346a;
/* rgb */ color: rgb(27, 52, 106);
/* oklch */ color: oklch(33.8% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#636b95',
    500: '#1b346a',
    950: '#000000',
  },
}
SCSS
$custom: #1b346a;
$custom-light: #636b95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b346a",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 221.013,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.09943,
    "h": 263.4
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#1B346A
secondary
#9F8242
accent
#B145E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B346A

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

Preview Lab → · Contrast checker → · Palette generator →

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