#1B2864#1B2864

#1B2864 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.107 H 269.7°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1B2864
RGBrgb(27, 40, 100)
HSLhsl(229, 57%, 25%)
HSVhsv(229, 73%, 39%)
CMYKcmyk(73%, 60%, 0%, 60.8%)
CIE-LABlab(18.67, 17.06, -37.12)
CIE-LCHlch(18.67, 40.86, 294.68°)
OKLaboklab(30.54% -0.0005 -0.1069)
OKLCHoklch(30.54% 0.107 269.7)
XYZxyz(3.5103, 2.6704, 12.3846)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2864 #64571B
analogous
#1B4D64 #1B2864 #331B64
triadic
#1B2864 #641B28 #28641B
tetradic
#1B2864 #641B4D #64571B #1B6433
square
#1B2864 #641B4D #64571B #1B6433
split-complementary
#1B2864 #64331B #4D641B
monochromatic
#070A18 #0E1534 #1B2864 #283B94 #354FC4

Accessibility & contrast

On white

13.69
#1B2864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2864
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2864#FFFFFF#000000##FFFFFF
##1B28641.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2864;
/* rgb */ color: rgb(27, 40, 100);
/* oklch */ color: oklch(30.5% 0.107 269.7);
Tailwind
colors: {
  custom: {
    50: '#626191',
    500: '#1b2864',
    950: '#000000',
  },
}
SCSS
$custom: #1b2864;
$custom-light: #626191;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2864",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 229.315,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3054,
    "c": 0.10689,
    "h": 269.7
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#1B2864
secondary
#998A41
accent
#C547E1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #1B2864

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

Preview Lab → · Contrast checker → · Palette generator →

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