#1B2E62#1B2E62

#1B2E62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.095 H 266.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2E62
RGBrgb(27, 46, 98)
HSLhsl(224, 57%, 25%)
HSVhsv(224, 72%, 38%)
CMYKcmyk(72.4%, 53.1%, 0%, 61.6%)
CIE-LABlab(20.32, 11.89, -33.15)
CIE-LCHlch(20.32, 35.22, 289.73°)
OKLaboklab(31.73% -0.0066 -0.0951)
OKLCHoklch(31.73% 0.095 266)
XYZxyz(3.6328, 3.0685, 11.9537)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E62 #624F1B
analogous
#1B5262 #1B2E62 #2C1B62
triadic
#1B2E62 #621B2E #2E621B
tetradic
#1B2E62 #621B52 #624F1B #1B622C
square
#1B2E62 #621B52 #624F1B #1B622C
split-complementary
#1B2E62 #622C1B #52621B
monochromatic
#070B18 #0E1732 #1B2E62 #284592 #355BC2

Accessibility & contrast

On white

13.01
#1B2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E62
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E62#FFFFFF#000000##FFFFFF
##1B2E621.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113464
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e62;
/* rgb */ color: rgb(27, 46, 98);
/* oklch */ color: oklch(31.7% 0.095 266.0);
Tailwind
colors: {
  custom: {
    50: '#61668f',
    500: '#1b2e62',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e62;
$custom-light: #61668f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e62",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 223.944,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31731,
    "c": 0.09534,
    "h": 266
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#1B2E62
secondary
#988041
accent
#B748E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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