#1B2C7B#1B2C7B

#1B2C7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.135 H 268.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1B2C7B
RGBrgb(27, 44, 123)
HSLhsl(229, 64%, 29%)
HSVhsv(229, 78%, 48%)
CMYKcmyk(78%, 64.2%, 0%, 51.8%)
CIE-LABlab(21.81, 23.44, -46.85)
CIE-LCHlch(21.81, 52.38, 296.58°)
OKLaboklab(33.51% -0.0036 -0.1354)
OKLCHoklch(33.51% 0.135 268.5)
XYZxyz(4.9266, 3.4639, 19.1440)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C7B #7B6A1B
analogous
#1B5C7B #1B2C7B #3A1B7B
triadic
#1B2C7B #7B1B2C #2C7B1B
tetradic
#1B2C7B #7B1B5C #7B6A1B #1B7B3A
square
#1B2C7B #7B1B5C #7B6A1B #1B7B3A
split-complementary
#1B2C7B #7B3A1B #5C7B1B
monochromatic
#060919 #101A49 #1B2C7B #263EAD #3C57D4

Accessibility & contrast

On white

12.41
#1B2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C7B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C7B#FFFFFF#000000##FFFFFF
##1B2C7B1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2c7b;
/* rgb */ color: rgb(27, 44, 123);
/* oklch */ color: oklch(33.5% 0.135 268.5);
Tailwind
colors: {
  custom: {
    50: '#6865a2',
    500: '#1b2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c7b;
$custom-light: #6865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c7b",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 229.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.13544,
    "h": 268.5
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#1B2C7B
secondary
#AF9C43
accent
#CA41E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1B2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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