#1B2D70#1B2D70

#1B2D70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.118 H 267.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2D70
RGBrgb(27, 45, 112)
HSLhsl(227, 61%, 27%)
HSVhsv(227, 76%, 44%)
CMYKcmyk(75.9%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.13, 18.32, -40.93)
CIE-LCHlch(21.13, 44.84, 294.11°)
OKLaboklab(32.7% -0.0045 -0.118)
OKLCHoklch(32.7% 0.118 267.8)
XYZxyz(4.3140, 3.2792, 15.7317)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D70 #705E1B
analogous
#1B5870 #1B2D70 #341B70
triadic
#1B2D70 #701B2D #2D701B
tetradic
#1B2D70 #701B58 #705E1B #1B7034
square
#1B2D70 #701B58 #705E1B #1B7034
split-complementary
#1B2D70 #70341B #58701B
monochromatic
#060A19 #0F193F #1B2D70 #2741A1 #3757CF

Accessibility & contrast

On white

12.68
#1B2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D70
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D70#FFFFFF#000000##FFFFFF
##1B2D701.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2d70;
/* rgb */ color: rgb(27, 45, 112);
/* oklch */ color: oklch(32.7% 0.118 267.8);
Tailwind
colors: {
  custom: {
    50: '#65659a',
    500: '#1b2d70',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d70;
$custom-light: #65659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d70",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 227.294,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32697,
    "c": 0.11809,
    "h": 267.8
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#1B2D70
secondary
#A59042
accent
#C244E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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