#1B3565#1B3565

#1B3565 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.090 H 261.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1B3565
RGBrgb(27, 53, 101)
HSLhsl(219, 58%, 25%)
HSVhsv(219, 73%, 40%)
CMYKcmyk(73.3%, 47.5%, 0%, 60.4%)
CIE-LABlab(22.72, 8.09, -31.25)
CIE-LCHlch(22.72, 32.28, 284.51°)
OKLaboklab(33.64% -0.0134 -0.0894)
OKLCHoklch(33.64% 0.09 261.5)
XYZxyz(4.0732, 3.7184, 12.8125)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3565 #654B1B
analogous
#1B5A65 #1B3565 #261B65
triadic
#1B3565 #651B35 #35651B
tetradic
#1B3565 #651B5A #654B1B #1B6526
square
#1B3565 #651B5A #654B1B #1B6526
split-complementary
#1B3565 #65261B #5A651B
monochromatic
#060D18 #0E1C35 #1B3565 #284E95 #3568C6

Accessibility & contrast

On white

12.04
#1B3565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B3565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3565
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3565#FFFFFF#000000##FFFFFF
##1B35651.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A67
Deuteranopia (green-blind)
#103364
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3565;
/* rgb */ color: rgb(27, 53, 101);
/* oklch */ color: oklch(33.6% 0.090 261.5);
Tailwind
colors: {
  custom: {
    50: '#616b91',
    500: '#1b3565',
    950: '#000000',
  },
}
SCSS
$custom: #1b3565;
$custom-light: #616b91;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3565",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 101
  },
  "hsl": {
    "h": 218.919,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.09039,
    "h": 261.5
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#1B3565
secondary
#9A7B41
accent
#AB47E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060D
muted
#7A7A7D

Preview Lab

Preview with #1B3565

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

Preview Lab → · Contrast checker → · Palette generator →

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