#1B2572#1B2572

#1B2572 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.132 H 270.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1B2572
RGBrgb(27, 37, 114)
HSLhsl(233, 62%, 28%)
HSVhsv(233, 76%, 45%)
CMYKcmyk(76.3%, 67.5%, 0%, 55.3%)
CIE-LABlab(19.10, 24.77, -45.53)
CIE-LCHlch(19.10, 51.83, 298.54°)
OKLaboklab(31.25% 0.0018 -0.1316)
OKLCHoklch(31.25% 0.132 270.8)
XYZxyz(4.1498, 2.7706, 16.2324)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2572 #72681B
analogous
#1B5172 #1B2572 #3C1B72
triadic
#1B2572 #721B25 #25721B
tetradic
#1B2572 #721B51 #72681B #1B723C
square
#1B2572 #721B51 #72681B #1B723C
split-complementary
#1B2572 #723C1B #51721B
monochromatic
#060819 #0F1541 #1B2572 #2735A3 #3849D0

Accessibility & contrast

On white

13.51
#1B2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2572
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2572#FFFFFF#000000##FFFFFF
##1B25721.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2572;
/* rgb */ color: rgb(27, 37, 114);
/* oklch */ color: oklch(31.2% 0.132 270.8);
Tailwind
colors: {
  custom: {
    50: '#665f9b',
    500: '#1b2572',
    950: '#000000',
  },
}
SCSS
$custom: #1b2572;
$custom-light: #665f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2572",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 233.103,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.13161,
    "h": 270.8
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#1B2572
secondary
#A79B42
accent
#D243E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2572

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

Preview Lab → · Contrast checker → · Palette generator →

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