#1B2573#1B2573

#1B2573 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.133 H 270.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1B2573
RGBrgb(27, 37, 115)
HSLhsl(233, 62%, 28%)
HSVhsv(233, 77%, 45%)
CMYKcmyk(76.5%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.20, 25.16, -46.02)
CIE-LCHlch(19.20, 52.44, 298.66°)
OKLaboklab(31.35% 0.0017 -0.133)
OKLCHoklch(31.35% 0.133 270.7)
XYZxyz(4.2070, 2.7935, 16.5338)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2573 #73691B
analogous
#1B5173 #1B2573 #3D1B73
triadic
#1B2573 #731B25 #25731B
tetradic
#1B2573 #731B51 #73691B #1B733D
square
#1B2573 #731B51 #73691B #1B733D
split-complementary
#1B2573 #733D1B #51731B
monochromatic
#060819 #0F1541 #1B2573 #2735A5 #3849D0

Accessibility & contrast

On white

13.47
#1B2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2573
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2573#FFFFFF#000000##FFFFFF
##1B25731.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2573;
/* rgb */ color: rgb(27, 37, 115);
/* oklch */ color: oklch(31.4% 0.133 270.7);
Tailwind
colors: {
  custom: {
    50: '#665f9c',
    500: '#1b2573',
    950: '#000000',
  },
}
SCSS
$custom: #1b2573;
$custom-light: #665f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2573",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 233.182,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.13303,
    "h": 270.7
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#1B2573
secondary
#A89C42
accent
#D343E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2573

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

Preview Lab → · Contrast checker → · Palette generator →

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