#1B2B63#1B2B63

#1B2B63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.101 H 268.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1B2B63
RGBrgb(27, 43, 99)
HSLhsl(227, 57%, 25%)
HSVhsv(227, 73%, 39%)
CMYKcmyk(72.7%, 56.6%, 0%, 61.2%)
CIE-LABlab(19.48, 14.47, -35.16)
CIE-LCHlch(19.48, 38.02, 292.38°)
OKLaboklab(31.12% -0.0035 -0.1011)
OKLCHoklch(31.12% 0.101 268)
XYZxyz(3.5672, 2.8613, 12.1662)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B63 #63531B
analogous
#1B4F63 #1B2B63 #2F1B63
triadic
#1B2B63 #631B2B #2B631B
tetradic
#1B2B63 #631B4F #63531B #1B632F
square
#1B2B63 #631B4F #63531B #1B632F
split-complementary
#1B2B63 #632F1B #4F631B
monochromatic
#070A18 #0E1633 #1B2B63 #284093 #3555C3

Accessibility & contrast

On white

13.36
#1B2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B63
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B63#FFFFFF#000000##FFFFFF
##1B2B631.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053365
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2b63;
/* rgb */ color: rgb(27, 43, 99);
/* oklch */ color: oklch(31.1% 0.101 268.0);
Tailwind
colors: {
  custom: {
    50: '#616390',
    500: '#1b2b63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b63;
$custom-light: #616390;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b63",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 226.667,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.10112,
    "h": 268
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#1B2B63
secondary
#988541
accent
#BE47E0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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