#1B2385#1B2385

#1B2385 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 270.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2385
RGBrgb(27, 35, 133)
HSLhsl(235, 66%, 31%)
HSVhsv(235, 80%, 52%)
CMYKcmyk(79.7%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.55, 33.30, -55.25)
CIE-LCHlch(20.55, 64.51, 301.08°)
OKLaboklab(32.89% 0.0009 -0.16)
OKLCHoklch(32.89% 0.16 270.3)
XYZxyz(5.2852, 3.1279, 22.5110)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2385 #857D1B
analogous
#1B5885 #1B2385 #481B85
triadic
#1B2385 #851B23 #23851B
tetradic
#1B2385 #851B58 #857D1B #1B8548
square
#1B2385 #851B58 #857D1B #1B8548
split-complementary
#1B2385 #85481B #58851B
monochromatic
#06081F #111652 #1B2385 #2530B8 #424DD9

Accessibility & contrast

On white

12.92
#1B2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2385
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2385#FFFFFF#000000##FFFFFF
##1B23851.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2385;
/* rgb */ color: rgb(27, 35, 133);
/* oklch */ color: oklch(32.9% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1b2385',
    950: '#000000',
  },
}
SCSS
$custom: #1b2385;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2385",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 235.472,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32887,
    "c": 0.15997,
    "h": 270.3
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#1B2385
secondary
#B8AF44
accent
#DC3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2385

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

Preview Lab → · Contrast checker → · Palette generator →

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