#1A2374#1A2374

#1A2374 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.137 H 270.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1A2374
RGBrgb(26, 35, 116)
HSLhsl(234, 63%, 28%)
HSVhsv(234, 78%, 45%)
CMYKcmyk(77.6%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.72, 26.79, -47.44)
CIE-LCHlch(18.72, 54.48, 299.46°)
OKLaboklab(31.02% 0.0018 -0.1372)
OKLCHoklch(31.02% 0.137 270.8)
XYZxyz(4.1783, 2.6822, 16.8171)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2374 #746B1A
analogous
#1A5074 #1A2374 #3E1A74
triadic
#1A2374 #741A23 #23741A
tetradic
#1A2374 #741A50 #746B1A #1A743E
square
#1A2374 #741A50 #746B1A #1A743E
split-complementary
#1A2374 #743E1A #50741A
monochromatic
#060819 #0F1442 #1A2374 #2532A6 #3646D2

Accessibility & contrast

On white

13.67
#1A2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2374
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2374#FFFFFF#000000##FFFFFF
##1A23741.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2374;
/* rgb */ color: rgb(26, 35, 116);
/* oklch */ color: oklch(31.0% 0.137 270.8);
Tailwind
colors: {
  custom: {
    50: '#665e9d',
    500: '#1a2374',
    950: '#000000',
  },
}
SCSS
$custom: #1a2374;
$custom-light: #665e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2374",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 234,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31018,
    "c": 0.13723,
    "h": 270.8
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#1A2374
secondary
#A99E41
accent
#D641E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2374

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

Preview Lab → · Contrast checker → · Palette generator →

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