#1B2E63#1B2E63

#1B2E63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.097 H 266.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1B2E63
RGBrgb(27, 46, 99)
HSLhsl(224, 57%, 25%)
HSVhsv(224, 73%, 39%)
CMYKcmyk(72.7%, 53.5%, 0%, 61.2%)
CIE-LABlab(20.39, 12.30, -33.69)
CIE-LCHlch(20.39, 35.86, 290.05°)
OKLaboklab(31.81% -0.0065 -0.0967)
OKLCHoklch(31.81% 0.097 266.2)
XYZxyz(3.6803, 3.0875, 12.2040)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E63 #63501B
analogous
#1B5263 #1B2E63 #2C1B63
triadic
#1B2E63 #631B2E #2E631B
tetradic
#1B2E63 #631B52 #63501B #1B632C
square
#1B2E63 #631B52 #63501B #1B632C
split-complementary
#1B2E63 #632C1B #52631B
monochromatic
#070B18 #0E1833 #1B2E63 #284493 #355BC3

Accessibility & contrast

On white

12.98
#1B2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E63
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E63#FFFFFF#000000##FFFFFF
##1B2E631.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3565
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e63;
/* rgb */ color: rgb(27, 46, 99);
/* oklch */ color: oklch(31.8% 0.097 266.2);
Tailwind
colors: {
  custom: {
    50: '#616690',
    500: '#1b2e63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e63;
$custom-light: #616690;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e63",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 224.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31812,
    "c": 0.0969,
    "h": 266.2
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#1B2E63
secondary
#988141
accent
#B847E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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