#1B2A85#1B2A85

#1B2A85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.152 H 269.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1B2A85
RGBrgb(27, 42, 133)
HSLhsl(232, 66%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(79.7%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.24, 28.72, -52.47)
CIE-LCHlch(22.24, 59.81, 298.70°)
OKLaboklab(34.11% -0.0027 -0.1519)
OKLCHoklch(34.11% 0.152 269)
XYZxyz(5.5121, 3.5818, 22.5866)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A85 #85761B
analogous
#1B5F85 #1B2A85 #411B85
triadic
#1B2A85 #851B2A #2A851B
tetradic
#1B2A85 #851B5F #85761B #1B8541
square
#1B2A85 #851B5F #85761B #1B8541
split-complementary
#1B2A85 #85411B #5F851B
monochromatic
#060A1F #111A52 #1B2A85 #253AB8 #4257D9

Accessibility & contrast

On white

12.23
#1B2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A85
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A85#FFFFFF#000000##FFFFFF
##1B2A851.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2a85;
/* rgb */ color: rgb(27, 42, 133);
/* oklch */ color: oklch(34.1% 0.152 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1b2a85',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a85;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a85",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 231.509,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.15188,
    "h": 269
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#1B2A85
secondary
#B8A844
accent
#D13FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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