#1B2374#1B2374

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

Color values

HEX#1B2374
RGBrgb(27, 35, 116)
HSLhsl(235, 62%, 28%)
HSVhsv(235, 77%, 45%)
CMYKcmyk(76.7%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.78, 26.91, -47.34)
CIE-LCHlch(18.78, 54.46, 299.62°)
OKLaboklab(31.08% 0.003 -0.1369)
OKLCHoklch(31.08% 0.137 271.2)
XYZxyz(4.2043, 2.6956, 16.8183)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2374 #746C1B
analogous
#1B4F74 #1B2374 #3F1B74
triadic
#1B2374 #741B23 #23741B
tetradic
#1B2374 #741B4F #746C1B #1B743F
square
#1B2374 #741B4F #746C1B #1B743F
split-complementary
#1B2374 #743F1B #4F741B
monochromatic
#060719 #0F1442 #1B2374 #2732A6 #3946D1

Accessibility & contrast

On white

13.64
#1B2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2374
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2374#FFFFFF#000000##FFFFFF
##1B23741.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.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: #1b2374;
/* rgb */ color: rgb(27, 35, 116);
/* oklch */ color: oklch(31.1% 0.137 271.2);
Tailwind
colors: {
  custom: {
    50: '#675e9d',
    500: '#1b2374',
    950: '#000000',
  },
}
SCSS
$custom: #1b2374;
$custom-light: #675e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2374",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 234.607,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.13694,
    "h": 271.2
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#1B2374
secondary
#A99F42
accent
#D742E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2374

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

Preview Lab → · Contrast checker → · Palette generator →

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