#1B458C#1B458C

#1B458C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.127 H 260.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1B458C
RGBrgb(27, 69, 140)
HSLhsl(218, 68%, 33%)
HSVhsv(218, 81%, 55%)
CMYKcmyk(80.7%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.36, 12.84, -43.60)
CIE-LCHlch(30.36, 45.45, 286.41°)
OKLaboklab(40.38% -0.0215 -0.1254)
OKLCHoklch(40.38% 0.127 260.3)
XYZxyz(7.3120, 6.3818, 25.6523)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458C #8C621B
analogous
#1B7E8C #1B458C #291B8C
triadic
#1B458C #8C1B45 #458C1B
tetradic
#1B458C #8C1B7E #8C621B #1B8C29
square
#1B458C #8C1B7E #8C621B #1B8C29
split-complementary
#1B458C #8C291B #7E8C1B
monochromatic
#071225 #112C59 #1B458C #255EBF #467EDB

Accessibility & contrast

On white

9.22
#1B458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B458C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458C#FFFFFF#000000##FFFFFF
##1B458C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b458c;
/* rgb */ color: rgb(27, 69, 140);
/* oklch */ color: oklch(40.4% 0.127 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a78ae',
    500: '#1b458c',
    950: '#000000',
  },
}
SCSS
$custom: #1b458c;
$custom-light: #6a78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458c",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 217.699,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.12724,
    "h": 260.3
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#1B458C
secondary
#BD9146
accent
#AA3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B458C

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

Preview Lab → · Contrast checker → · Palette generator →

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