#1B2F76#1B2F76

#1B2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.124 H 267.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1B2F76
RGBrgb(27, 47, 118)
HSLhsl(227, 63%, 28%)
HSVhsv(227, 77%, 46%)
CMYKcmyk(77.1%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.21, 19.32, -43.02)
CIE-LCHlch(22.21, 47.16, 294.18°)
OKLaboklab(33.66% -0.0059 -0.1241)
OKLCHoklch(33.66% 0.124 267.3)
XYZxyz(4.7374, 3.5735, 17.5761)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F76 #76621B
analogous
#1B5C76 #1B2F76 #341B76
triadic
#1B2F76 #761B2F #2F761B
tetradic
#1B2F76 #761B5C #76621B #1B7634
square
#1B2F76 #761B5C #76621B #1B7634
split-complementary
#1B2F76 #76341B #5C761B
monochromatic
#060A19 #101B44 #1B2F76 #2643A8 #3A5BD2

Accessibility & contrast

On white

12.25
#1B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F76
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F76#FFFFFF#000000##FFFFFF
##1B2F761.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2f76;
/* rgb */ color: rgb(27, 47, 118);
/* oklch */ color: oklch(33.7% 0.124 267.3);
Tailwind
colors: {
  custom: {
    50: '#66679e',
    500: '#1b2f76',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f76;
$custom-light: #66679e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f76",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 226.813,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33664,
    "c": 0.12426,
    "h": 267.3
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#1B2F76
secondary
#AA9442
accent
#C242E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1B2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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