#1B2D73#1B2D73

#1B2D73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.123 H 268.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1B2D73
RGBrgb(27, 45, 115)
HSLhsl(228, 62%, 28%)
HSVhsv(228, 77%, 45%)
CMYKcmyk(76.5%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.38, 19.53, -42.44)
CIE-LCHlch(21.38, 46.72, 294.71°)
OKLaboklab(32.97% -0.0043 -0.1225)
OKLCHoklch(32.97% 0.123 268)
XYZxyz(4.4838, 3.3471, 16.6261)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D73 #73611B
analogous
#1B5973 #1B2D73 #351B73
triadic
#1B2D73 #731B2D #2D731B
tetradic
#1B2D73 #731B59 #73611B #1B7335
square
#1B2D73 #731B59 #73611B #1B7335
split-complementary
#1B2D73 #73351B #59731B
monochromatic
#060A19 #0F1A41 #1B2D73 #2740A5 #3857D0

Accessibility & contrast

On white

12.58
#1B2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D73
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D73#FFFFFF#000000##FFFFFF
##1B2D731.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2d73;
/* rgb */ color: rgb(27, 45, 115);
/* oklch */ color: oklch(33.0% 0.123 268.0);
Tailwind
colors: {
  custom: {
    50: '#65659c',
    500: '#1b2d73',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d73;
$custom-light: #65659c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d73",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 227.727,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.12254,
    "h": 268
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#1B2D73
secondary
#A89342
accent
#C443E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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