#1B458B#1B458B

#1B458B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.126 H 260.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1B458B
RGBrgb(27, 69, 139)
HSLhsl(218, 67%, 33%)
HSVhsv(218, 81%, 55%)
CMYKcmyk(80.6%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.28, 12.43, -43.10)
CIE-LCHlch(30.28, 44.86, 286.09°)
OKLaboklab(40.3% -0.0216 -0.1239)
OKLCHoklch(40.3% 0.126 260.1)
XYZxyz(7.2386, 6.3525, 25.2657)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458B #8B611B
analogous
#1B7D8B #1B458B #291B8B
triadic
#1B458B #8B1B45 #458B1B
tetradic
#1B458B #8B1B7D #8B611B #1B8B29
square
#1B458B #8B1B7D #8B611B #1B8B29
split-complementary
#1B458B #8B291B #7D8B1B
monochromatic
#071225 #112C58 #1B458B #255EBE #457EDB

Accessibility & contrast

On white

9.25
#1B458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B458B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458B#FFFFFF#000000##FFFFFF
##1B458B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b458b;
/* rgb */ color: rgb(27, 69, 139);
/* oklch */ color: oklch(40.3% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#6a78ad',
    500: '#1b458b',
    950: '#000000',
  },
}
SCSS
$custom: #1b458b;
$custom-light: #6a78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458b",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 217.5,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.1258,
    "h": 260.1
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#1B458B
secondary
#BC9045
accent
#AA3DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B458B

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

Preview Lab → · Contrast checker → · Palette generator →

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