#1B4293#1B4293

#1B4293 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.141 H 262.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1B4293
RGBrgb(27, 66, 147)
HSLhsl(221, 69%, 34%)
HSVhsv(221, 82%, 58%)
CMYKcmyk(81.6%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.00, 17.75, -48.48)
CIE-LCHlch(30.00, 51.62, 290.11°)
OKLaboklab(40.27% -0.0183 -0.1398)
OKLCHoklch(40.27% 0.141 262.5)
XYZxyz(7.6648, 6.2351, 28.3976)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4293 #936C1B
analogous
#1B7E93 #1B4293 #301B93
triadic
#1B4293 #931B42 #42931B
tetradic
#1B4293 #931B7E #936C1B #1B9330
square
#1B4293 #931B7E #936C1B #1B9330
split-complementary
#1B4293 #93301B #7E931B
monochromatic
#08142C #122B5F #1B4293 #2459C7 #4B7ADE

Accessibility & contrast

On white

9.34
#1B4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4293
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4293#FFFFFF#000000##FFFFFF
##1B42931.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4293;
/* rgb */ color: rgb(27, 66, 147);
/* oklch */ color: oklch(40.3% 0.141 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c75b3',
    500: '#1b4293',
    950: '#000000',
  },
}
SCSS
$custom: #1b4293;
$custom-light: #6c75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4293",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 220.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.141,
    "h": 262.5
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#1B4293
secondary
#C09A4A
accent
#B33CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4293

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

Preview Lab → · Contrast checker → · Palette generator →

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