#1B458E#1B458E

#1B458E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.130 H 260.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1B458E
RGBrgb(27, 69, 142)
HSLhsl(218, 68%, 33%)
HSVhsv(218, 81%, 56%)
CMYKcmyk(81%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.50, 13.65, -44.60)
CIE-LCHlch(30.50, 46.64, 287.02°)
OKLaboklab(40.54% -0.0212 -0.1283)
OKLCHoklch(40.54% 0.13 260.6)
XYZxyz(7.4608, 6.4414, 26.4360)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458E #8E641B
analogous
#1B7E8E #1B458E #2A1B8E
triadic
#1B458E #8E1B45 #458E1B
tetradic
#1B458E #8E1B7E #8E641B #1B8E2A
square
#1B458E #8E1B7E #8E641B #1B8E2A
split-complementary
#1B458E #8E2A1B #7E8E1B
monochromatic
#071327 #112C5B #1B458E #255EC1 #477EDC

Accessibility & contrast

On white

9.18
#1B458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B458E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458E#FFFFFF#000000##FFFFFF
##1B458E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b458e;
/* rgb */ color: rgb(27, 69, 142);
/* oklch */ color: oklch(40.5% 0.130 260.6);
Tailwind
colors: {
  custom: {
    50: '#6b78b0',
    500: '#1b458e',
    950: '#000000',
  },
}
SCSS
$custom: #1b458e;
$custom-light: #6b78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458e",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 218.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.13008,
    "h": 260.6
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#1B458E
secondary
#BE9247
accent
#AB3DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B458E

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

Preview Lab → · Contrast checker → · Palette generator →

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