#1B2E85#1B2E85

#1B2E85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.147 H 268.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1B2E85
RGBrgb(27, 46, 133)
HSLhsl(229, 66%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(79.7%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.27, 26.00, -50.77)
CIE-LCHlch(23.27, 57.04, 297.12°)
OKLaboklab(34.87% -0.0051 -0.1469)
OKLCHoklch(34.87% 0.147 268)
XYZxyz(5.6612, 3.8798, 22.6363)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E85 #85721B
analogous
#1B6385 #1B2E85 #3D1B85
triadic
#1B2E85 #851B2E #2E851B
tetradic
#1B2E85 #851B63 #85721B #1B853D
square
#1B2E85 #851B63 #85721B #1B853D
split-complementary
#1B2E85 #853D1B #63851B
monochromatic
#060B1F #111C52 #1B2E85 #2540B8 #425DD9

Accessibility & contrast

On white

11.82
#1B2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E85
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E85#FFFFFF#000000##FFFFFF
##1B2E851.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2e85;
/* rgb */ color: rgb(27, 46, 133);
/* oklch */ color: oklch(34.9% 0.147 268.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a9',
    500: '#1b2e85',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e85;
$custom-light: #6a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e85",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 229.245,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.14696,
    "h": 268
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#1B2E85
secondary
#B8A344
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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