#1B2C63#1B2C63

#1B2C63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.100 H 267.4°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1B2C63
RGBrgb(27, 44, 99)
HSLhsl(226, 57%, 25%)
HSVhsv(226, 73%, 39%)
CMYKcmyk(72.7%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.78, 13.75, -34.67)
CIE-LCHlch(19.78, 37.30, 291.63°)
OKLaboklab(31.35% -0.0045 -0.0996)
OKLCHoklch(31.35% 0.1 267.4)
XYZxyz(3.6040, 2.9349, 12.1785)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C63 #63521B
analogous
#1B5063 #1B2C63 #2E1B63
triadic
#1B2C63 #631B2C #2C631B
tetradic
#1B2C63 #631B50 #63521B #1B632E
square
#1B2C63 #631B50 #63521B #1B632E
split-complementary
#1B2C63 #632E1B #50631B
monochromatic
#070B18 #0E1733 #1B2C63 #284193 #3557C3

Accessibility & contrast

On white

13.23
#1B2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C63
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C63#FFFFFF#000000##FFFFFF
##1B2C631.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2c63;
/* rgb */ color: rgb(27, 44, 99);
/* oklch */ color: oklch(31.3% 0.100 267.4);
Tailwind
colors: {
  custom: {
    50: '#616490',
    500: '#1b2c63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c63;
$custom-light: #616490;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c63",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 225.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.09971,
    "h": 267.4
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#1B2C63
secondary
#988441
accent
#BC47E0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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