#1B458F#1B458F

#1B458F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.132 H 260.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1B458F
RGBrgb(27, 69, 143)
HSLhsl(218, 68%, 33%)
HSVhsv(218, 81%, 56%)
CMYKcmyk(81.1%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.57, 14.06, -45.09)
CIE-LCHlch(30.57, 47.24, 287.32°)
OKLaboklab(40.61% -0.021 -0.1298)
OKLCHoklch(40.61% 0.132 260.8)
XYZxyz(7.5362, 6.4715, 26.8332)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B458F #8F651B
analogous
#1B7F8F #1B458F #2B1B8F
triadic
#1B458F #8F1B45 #458F1B
tetradic
#1B458F #8F1B7F #8F651B #1B8F2B
square
#1B458F #8F1B7F #8F651B #1B8F2B
split-complementary
#1B458F #8F2B1B #7F8F1B
monochromatic
#081328 #112C5C #1B458F #255EC2 #487EDC

Accessibility & contrast

On white

9.15
#1B458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B458F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B458F#FFFFFF#000000##FFFFFF
##1B458F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b458f;
/* rgb */ color: rgb(27, 69, 143);
/* oklch */ color: oklch(40.6% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#6b78b0',
    500: '#1b458f',
    950: '#000000',
  },
}
SCSS
$custom: #1b458f;
$custom-light: #6b78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b458f",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 218.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.1315,
    "h": 260.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#1B458F
secondary
#BE9348
accent
#AC3DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B458F

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

Preview Lab → · Contrast checker → · Palette generator →

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