#1B2A73#1B2A73

#1B2A73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 269.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2A73
RGBrgb(27, 42, 115)
HSLhsl(230, 62%, 28%)
HSVhsv(230, 77%, 45%)
CMYKcmyk(76.5%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.54, 21.66, -43.82)
CIE-LCHlch(20.54, 48.88, 296.30°)
OKLaboklab(32.34% -0.002 -0.1265)
OKLCHoklch(32.34% 0.127 269.1)
XYZxyz(4.3734, 3.1263, 16.5893)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A73 #73641B
analogous
#1B5673 #1B2A73 #381B73
triadic
#1B2A73 #731B2A #2A731B
tetradic
#1B2A73 #731B56 #73641B #1B7338
square
#1B2A73 #731B56 #73641B #1B7338
split-complementary
#1B2A73 #73381B #56731B
monochromatic
#060919 #0F1841 #1B2A73 #273CA5 #3852D0

Accessibility & contrast

On white

12.92
#1B2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A73
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A73#FFFFFF#000000##FFFFFF
##1B2A731.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2a73;
/* rgb */ color: rgb(27, 42, 115);
/* oklch */ color: oklch(32.3% 0.127 269.1);
Tailwind
colors: {
  custom: {
    50: '#66639c',
    500: '#1b2a73',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a73;
$custom-light: #66639c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a73",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 229.773,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.12654,
    "h": 269.1
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#1B2A73
secondary
#A89642
accent
#C943E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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