#1B2574#1B2574

#1B2574 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.134 H 270.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2574
RGBrgb(27, 37, 116)
HSLhsl(233, 62%, 28%)
HSVhsv(233, 77%, 45%)
CMYKcmyk(76.7%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.29, 25.54, -46.50)
CIE-LCHlch(19.29, 53.05, 298.78°)
OKLaboklab(31.45% 0.0016 -0.1344)
OKLCHoklch(31.45% 0.134 270.7)
XYZxyz(4.2649, 2.8167, 16.8385)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2574 #746A1B
analogous
#1B5274 #1B2574 #3D1B74
triadic
#1B2574 #741B25 #25741B
tetradic
#1B2574 #741B52 #746A1B #1B743D
square
#1B2574 #741B52 #746A1B #1B743D
split-complementary
#1B2574 #743D1B #52741B
monochromatic
#060819 #0F1542 #1B2574 #2735A6 #394AD1

Accessibility & contrast

On white

13.43
#1B2574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2574
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2574#FFFFFF#000000##FFFFFF
##1B25741.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2574;
/* rgb */ color: rgb(27, 37, 116);
/* oklch */ color: oklch(31.4% 0.134 270.7);
Tailwind
colors: {
  custom: {
    50: '#665f9d',
    500: '#1b2574',
    950: '#000000',
  },
}
SCSS
$custom: #1b2574;
$custom-light: #665f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2574",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 233.258,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3145,
    "c": 0.13445,
    "h": 270.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#1B2574
secondary
#A99D42
accent
#D342E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2574

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

Preview Lab → · Contrast checker → · Palette generator →

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