#1B4074#1B4074

#1B4074 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.099 H 257.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4074
RGBrgb(27, 64, 116)
HSLhsl(215, 62%, 28%)
HSVhsv(215, 77%, 45%)
CMYKcmyk(76.7%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.19, 6.50, -33.72)
CIE-LCHlch(27.19, 34.34, 280.91°)
OKLaboklab(37.41% -0.0214 -0.0964)
OKLCHoklch(37.41% 0.099 257.5)
XYZxyz(5.4366, 5.1602, 17.2291)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4074 #744F1B
analogous
#1B6C74 #1B4074 #221B74
triadic
#1B4074 #741B40 #40741B
tetradic
#1B4074 #741B6C #744F1B #1B7422
square
#1B4074 #741B6C #744F1B #1B7422
split-complementary
#1B4074 #74221B #6C741B
monochromatic
#060E19 #0F2542 #1B4074 #275BA6 #3978D1

Accessibility & contrast

On white

10.33
#1B4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4074
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4074#FFFFFF#000000##FFFFFF
##1B40741.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#173C73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b4074;
/* rgb */ color: rgb(27, 64, 116);
/* oklch */ color: oklch(37.4% 0.099 257.5);
Tailwind
colors: {
  custom: {
    50: '#65749c',
    500: '#1b4074',
    950: '#000000',
  },
}
SCSS
$custom: #1b4074;
$custom-light: #65749c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4074",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 215.056,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.09879,
    "h": 257.5
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#1B4074
secondary
#A97E42
accent
#A242E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B4074

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

Preview Lab → · Contrast checker → · Palette generator →

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