#1B2D63#1B2D63

#1B2D63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.098 H 266.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1B2D63
RGBrgb(27, 45, 99)
HSLhsl(225, 57%, 25%)
HSVhsv(225, 73%, 39%)
CMYKcmyk(72.7%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.09, 13.02, -34.18)
CIE-LCHlch(20.09, 36.58, 290.86°)
OKLaboklab(31.58% -0.0055 -0.0981)
OKLCHoklch(31.58% 0.098 266.8)
XYZxyz(3.6417, 3.0103, 12.1911)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D63 #63511B
analogous
#1B5163 #1B2D63 #2D1B63
triadic
#1B2D63 #631B2D #2D631B
tetradic
#1B2D63 #631B51 #63511B #1B632D
square
#1B2D63 #631B51 #63511B #1B632D
split-complementary
#1B2D63 #632D1B #51631B
monochromatic
#070B18 #0E1733 #1B2D63 #284393 #3559C3

Accessibility & contrast

On white

13.11
#1B2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D63
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D63#FFFFFF#000000##FFFFFF
##1B2D631.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2d63;
/* rgb */ color: rgb(27, 45, 99);
/* oklch */ color: oklch(31.6% 0.098 266.8);
Tailwind
colors: {
  custom: {
    50: '#616590',
    500: '#1b2d63',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d63;
$custom-light: #616590;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d63",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 225,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31579,
    "c": 0.0983,
    "h": 266.8
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#1B2D63
secondary
#988341
accent
#BA47E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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