#1B3072#1B3072

#1B3072 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.117 H 266.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1B3072
RGBrgb(27, 48, 114)
HSLhsl(226, 62%, 28%)
HSVhsv(226, 76%, 45%)
CMYKcmyk(76.3%, 57.9%, 0%, 55.3%)
CIE-LABlab(22.16, 16.98, -40.53)
CIE-LCHlch(22.16, 43.95, 292.73°)
OKLaboklab(33.53% -0.0069 -0.1168)
OKLCHoklch(33.53% 0.117 266.6)
XYZxyz(4.5451, 3.5613, 16.3642)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3072 #725D1B
analogous
#1B5C72 #1B3072 #311B72
triadic
#1B3072 #721B30 #30721B
tetradic
#1B3072 #721B5C #725D1B #1B7231
square
#1B3072 #721B5C #725D1B #1B7231
split-complementary
#1B3072 #72311B #5C721B
monochromatic
#060A19 #0F1B41 #1B3072 #2745A3 #385CD0

Accessibility & contrast

On white

12.26
#1B3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3072
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3072#FFFFFF#000000##FFFFFF
##1B30721.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3072;
/* rgb */ color: rgb(27, 48, 114);
/* oklch */ color: oklch(33.5% 0.117 266.6);
Tailwind
colors: {
  custom: {
    50: '#65679b',
    500: '#1b3072',
    950: '#000000',
  },
}
SCSS
$custom: #1b3072;
$custom-light: #65679b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3072",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 225.517,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.11699,
    "h": 266.6
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1B3072
secondary
#A78E42
accent
#BE43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3072

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

Preview Lab → · Contrast checker → · Palette generator →

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