#1B2474#1B2474

#1B2474 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.136 H 271.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1B2474
RGBrgb(27, 36, 116)
HSLhsl(234, 62%, 28%)
HSVhsv(234, 77%, 45%)
CMYKcmyk(76.7%, 69%, 0%, 54.5%)
CIE-LABlab(19.04, 26.23, -46.92)
CIE-LCHlch(19.04, 53.76, 299.21°)
OKLaboklab(31.26% 0.0023 -0.1357)
OKLCHoklch(31.26% 0.136 271)
XYZxyz(4.2342, 2.7553, 16.8283)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2474 #746B1B
analogous
#1B5074 #1B2474 #3F1B74
triadic
#1B2474 #741B24 #24741B
tetradic
#1B2474 #741B50 #746B1B #1B743F
square
#1B2474 #741B50 #746B1B #1B743F
split-complementary
#1B2474 #743F1B #50741B
monochromatic
#060819 #0F1542 #1B2474 #2733A6 #3948D1

Accessibility & contrast

On white

13.54
#1B2474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2474
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2474#FFFFFF#000000##FFFFFF
##1B24741.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2474;
/* rgb */ color: rgb(27, 36, 116);
/* oklch */ color: oklch(31.3% 0.136 271.0);
Tailwind
colors: {
  custom: {
    50: '#665e9d',
    500: '#1b2474',
    950: '#000000',
  },
}
SCSS
$custom: #1b2474;
$custom-light: #665e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2474",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 233.933,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31262,
    "c": 0.13571,
    "h": 271
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#1B2474
secondary
#A99E42
accent
#D542E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2474

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

Preview Lab → · Contrast checker → · Palette generator →

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