#1B2E71#1B2E71

#1B2E71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.118 H 267.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1B2E71
RGBrgb(27, 46, 113)
HSLhsl(227, 61%, 27%)
HSVhsv(227, 76%, 44%)
CMYKcmyk(76.1%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.50, 18.01, -40.97)
CIE-LCHlch(21.50, 44.75, 293.72°)
OKLaboklab(33% -0.0053 -0.1181)
OKLCHoklch(33% 0.118 267.5)
XYZxyz(4.4086, 3.3788, 16.0394)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E71 #715E1B
analogous
#1B5971 #1B2E71 #331B71
triadic
#1B2E71 #711B2E #2E711B
tetradic
#1B2E71 #711B59 #715E1B #1B7133
square
#1B2E71 #711B59 #715E1B #1B7133
split-complementary
#1B2E71 #71331B #59711B
monochromatic
#060A19 #0F1A40 #1B2E71 #2742A2 #3759CF

Accessibility & contrast

On white

12.53
#1B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E71
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E71#FFFFFF#000000##FFFFFF
##1B2E711.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2e71;
/* rgb */ color: rgb(27, 46, 113);
/* oklch */ color: oklch(33.0% 0.118 267.5);
Tailwind
colors: {
  custom: {
    50: '#65669a',
    500: '#1b2e71',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e71;
$custom-light: #65669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e71",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 226.744,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33002,
    "c": 0.11823,
    "h": 267.5
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#1B2E71
secondary
#A69042
accent
#C143E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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