#1B2E72#1B2E72

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

Color values

HEX#1B2E72
RGBrgb(27, 46, 114)
HSLhsl(227, 62%, 28%)
HSVhsv(227, 76%, 45%)
CMYKcmyk(76.3%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.58, 18.41, -41.48)
CIE-LCHlch(21.58, 45.38, 293.94°)
OKLaboklab(33.09% -0.0052 -0.1196)
OKLCHoklch(33.09% 0.12 267.5)
XYZxyz(4.4652, 3.4014, 16.3375)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E72 #725F1B
analogous
#1B5972 #1B2E72 #341B72
triadic
#1B2E72 #721B2E #2E721B
tetradic
#1B2E72 #721B59 #725F1B #1B7234
square
#1B2E72 #721B59 #725F1B #1B7234
split-complementary
#1B2E72 #72341B #59721B
monochromatic
#060A19 #0F1A41 #1B2E72 #2742A3 #3859D0

Accessibility & contrast

On white

12.50
#1B2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E72
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E72#FFFFFF#000000##FFFFFF
##1B2E721.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2e72;
/* rgb */ color: rgb(27, 46, 114);
/* oklch */ color: oklch(33.1% 0.120 267.5);
Tailwind
colors: {
  custom: {
    50: '#65669b',
    500: '#1b2e72',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e72;
$custom-light: #65669b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e72",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 226.897,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33091,
    "c": 0.1197,
    "h": 267.5
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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