#1B2E64#1B2E64

#1B2E64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.098 H 266.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1B2E64
RGBrgb(27, 46, 100)
HSLhsl(224, 57%, 25%)
HSVhsv(224, 73%, 39%)
CMYKcmyk(73%, 54%, 0%, 60.8%)
CIE-LABlab(20.47, 12.71, -34.22)
CIE-LCHlch(20.47, 36.50, 290.37°)
OKLaboklab(31.89% -0.0063 -0.0982)
OKLCHoklch(31.89% 0.098 266.3)
XYZxyz(3.7284, 3.1067, 12.4573)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E64 #64511B
analogous
#1B5264 #1B2E64 #2D1B64
triadic
#1B2E64 #641B2E #2E641B
tetradic
#1B2E64 #641B52 #64511B #1B642D
square
#1B2E64 #641B52 #64511B #1B642D
split-complementary
#1B2E64 #642D1B #52641B
monochromatic
#070B18 #0E1834 #1B2E64 #284494 #355AC4

Accessibility & contrast

On white

12.95
#1B2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E64
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E64#FFFFFF#000000##FFFFFF
##1B2E641.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3566
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e64;
/* rgb */ color: rgb(27, 46, 100);
/* oklch */ color: oklch(31.9% 0.098 266.3);
Tailwind
colors: {
  custom: {
    50: '#616691',
    500: '#1b2e64',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e64;
$custom-light: #616691;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e64",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 224.384,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.09845,
    "h": 266.3
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#1B2E64
secondary
#998341
accent
#B947E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050D
muted
#7A7A7D

Preview Lab

Preview with #1B2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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