#1B2672#1B2672

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

Color values

HEX#1B2672
RGBrgb(27, 38, 114)
HSLhsl(232, 62%, 28%)
HSVhsv(232, 76%, 45%)
CMYKcmyk(76.3%, 66.7%, 0%, 55.3%)
CIE-LABlab(19.37, 24.07, -45.10)
CIE-LCHlch(19.37, 51.12, 298.09°)
OKLaboklab(31.44% 0.001 -0.1303)
OKLCHoklch(31.44% 0.13 270.5)
XYZxyz(4.1813, 2.8337, 16.2429)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2672 #72671B
analogous
#1B5172 #1B2672 #3C1B72
triadic
#1B2672 #721B26 #26721B
tetradic
#1B2672 #721B51 #72671B #1B723C
square
#1B2672 #721B51 #72671B #1B723C
split-complementary
#1B2672 #723C1B #51721B
monochromatic
#060819 #0F1641 #1B2672 #2736A3 #384BD0

Accessibility & contrast

On white

13.40
#1B2672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2672
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2672#FFFFFF#000000##FFFFFF
##1B26721.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2672;
/* rgb */ color: rgb(27, 38, 114);
/* oklch */ color: oklch(31.4% 0.130 270.5);
Tailwind
colors: {
  custom: {
    50: '#66609b',
    500: '#1b2672',
    950: '#000000',
  },
}
SCSS
$custom: #1b2672;
$custom-light: #66609b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2672",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 232.414,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31443,
    "c": 0.13032,
    "h": 270.5
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#1B2672
secondary
#A79A42
accent
#D043E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2672

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

Preview Lab → · Contrast checker → · Palette generator →

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