#1B2576#1B2576

#1B2576 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.137 H 270.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2576
RGBrgb(27, 37, 118)
HSLhsl(233, 63%, 28%)
HSVhsv(233, 77%, 46%)
CMYKcmyk(77.1%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.49, 26.32, -47.46)
CIE-LCHlch(19.49, 54.27, 299.01°)
OKLaboklab(31.65% 0.0015 -0.1373)
OKLCHoklch(31.65% 0.137 270.6)
XYZxyz(4.3825, 2.8637, 17.4578)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2576 #766C1B
analogous
#1B5276 #1B2576 #3E1B76
triadic
#1B2576 #761B25 #25761B
tetradic
#1B2576 #761B52 #766C1B #1B763E
square
#1B2576 #761B52 #766C1B #1B763E
split-complementary
#1B2576 #763E1B #52761B
monochromatic
#060819 #101544 #1B2576 #2635A8 #3A4AD2

Accessibility & contrast

On white

13.35
#1B2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2576
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2576#FFFFFF#000000##FFFFFF
##1B25761.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2576;
/* rgb */ color: rgb(27, 37, 118);
/* oklch */ color: oklch(31.7% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#675f9e',
    500: '#1b2576',
    950: '#000000',
  },
}
SCSS
$custom: #1b2576;
$custom-light: #675f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2576",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 233.407,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31653,
    "c": 0.13727,
    "h": 270.6
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#1B2576
secondary
#AA9F42
accent
#D442E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2576

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

Preview Lab → · Contrast checker → · Palette generator →

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