#1B2F63#1B2F63

#1B2F63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.095 H 265.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1B2F63
RGBrgb(27, 47, 99)
HSLhsl(223, 57%, 25%)
HSVhsv(223, 73%, 39%)
CMYKcmyk(72.7%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.70, 11.58, -33.19)
CIE-LCHlch(20.70, 35.15, 289.23°)
OKLaboklab(32.05% -0.0075 -0.0952)
OKLCHoklch(32.05% 0.095 265.5)
XYZxyz(3.7199, 3.1665, 12.2171)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F63 #634F1B
analogous
#1B5363 #1B2F63 #2B1B63
triadic
#1B2F63 #631B2F #2F631B
tetradic
#1B2F63 #631B53 #634F1B #1B632B
square
#1B2F63 #631B53 #634F1B #1B632B
split-complementary
#1B2F63 #632B1B #53631B
monochromatic
#070B18 #0E1833 #1B2F63 #284693 #355DC3

Accessibility & contrast

On white

12.86
#1B2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F63
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F63#FFFFFF#000000##FFFFFF
##1B2F631.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2f63;
/* rgb */ color: rgb(27, 47, 99);
/* oklch */ color: oklch(32.0% 0.095 265.5);
Tailwind
colors: {
  custom: {
    50: '#616790',
    500: '#1b2f63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f63;
$custom-light: #616790;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f63",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 223.333,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.09549,
    "h": 265.5
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#1B2F63
secondary
#988041
accent
#B647E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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