#1B458A#1B458A

#1B458A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.124 H 259.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B458A
RGBrgb(27, 69, 138)
HSLhsl(217, 67%, 32%)
HSVhsv(217, 80%, 54%)
CMYKcmyk(80.4%, 50%, 0%, 45.9%)
CIE-LABlab(30.21, 12.03, -42.60)
CIE-LCHlch(30.21, 44.26, 285.77°)
OKLaboklab(40.23% -0.0218 -0.1225)
OKLCHoklch(40.23% 0.124 259.9)
XYZxyz(7.1659, 6.3234, 24.8827)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458A #8A601B
analogous
#1B7D8A #1B458A #281B8A
triadic
#1B458A #8A1B45 #458A1B
tetradic
#1B458A #8A1B7D #8A601B #1B8A28
square
#1B458A #8A1B7D #8A601B #1B8A28
split-complementary
#1B458A #8A281B #7D8A1B
monochromatic
#071224 #112B57 #1B458A #255FBD #457DDB

Accessibility & contrast

On white

9.27
#1B458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B458A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458A#FFFFFF#000000##FFFFFF
##1B458A1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b458a;
/* rgb */ color: rgb(27, 69, 138);
/* oklch */ color: oklch(40.2% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a78ad',
    500: '#1b458a',
    950: '#000000',
  },
}
SCSS
$custom: #1b458a;
$custom-light: #6a78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458a",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 217.297,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.12438,
    "h": 259.9
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#1B458A
secondary
#BC8F45
accent
#A93EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B458A

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

Preview Lab → · Contrast checker → · Palette generator →

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