#1B345A#1B345A

#1B345A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.075 H 258.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1B345A
RGBrgb(27, 52, 90)
HSLhsl(216, 54%, 23%)
HSVhsv(216, 70%, 35%)
CMYKcmyk(70%, 42.2%, 0%, 64.7%)
CIE-LABlab(21.68, 4.33, -25.71)
CIE-LCHlch(21.68, 26.07, 279.57°)
OKLaboklab(32.6% -0.0148 -0.0732)
OKLCHoklch(32.6% 0.075 258.6)
XYZxyz(3.5248, 3.4268, 10.1466)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B345A #5A411B
analogous
#1B535A #1B345A #211B5A
triadic
#1B345A #5A1B34 #345A1B
tetradic
#1B345A #5A1B53 #5A411B #1B5A21
square
#1B345A #5A1B53 #5A411B #1B5A21
split-complementary
#1B345A #5A211B #535A1B
monochromatic
#070E18 #0D192B #1B345A #294F89 #376AB8

Accessibility & contrast

On white

12.46
#1B345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B345A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B345A#FFFFFF#000000##FFFFFF
##1B345A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b345a;
/* rgb */ color: rgb(27, 52, 90);
/* oklch */ color: oklch(32.6% 0.075 258.6);
Tailwind
colors: {
  custom: {
    50: '#5f6b89',
    500: '#1b345a',
    950: '#000000',
  },
}
SCSS
$custom: #1b345a;
$custom-light: #5f6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1b345a",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 216.19,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32602,
    "c": 0.07463,
    "h": 258.6
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#1B345A
secondary
#907141
accent
#A34BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B345A

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

Preview Lab → · Contrast checker → · Palette generator →

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