#1B2579#1B2579

#1B2579 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.141 H 270.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1B2579
RGBrgb(27, 37, 121)
HSLhsl(234, 64%, 29%)
HSVhsv(234, 78%, 47%)
CMYKcmyk(77.7%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.79, 27.48, -48.90)
CIE-LCHlch(19.79, 56.09, 299.34°)
OKLaboklab(31.96% 0.0012 -0.1414)
OKLCHoklch(31.96% 0.141 270.5)
XYZxyz(4.5636, 2.9361, 18.4117)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2579 #796F1B
analogous
#1B5479 #1B2579 #401B79
triadic
#1B2579 #791B25 #25791B
tetradic
#1B2579 #791B54 #796F1B #1B7940
square
#1B2579 #791B54 #796F1B #1B7940
split-complementary
#1B2579 #79401B #54791B
monochromatic
#060819 #101647 #1B2579 #2634AB #3B4BD3

Accessibility & contrast

On white

13.23
#1B2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2579
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2579#FFFFFF#000000##FFFFFF
##1B25791.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2579;
/* rgb */ color: rgb(27, 37, 121);
/* oklch */ color: oklch(32.0% 0.141 270.5);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1b2579',
    950: '#000000',
  },
}
SCSS
$custom: #1b2579;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2579",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 233.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3196,
    "c": 0.14146,
    "h": 270.5
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#1B2579
secondary
#ADA243
accent
#D541E7
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B2579

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

Preview Lab → · Contrast checker → · Palette generator →

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