#1B2485#1B2485

#1B2485 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.159 H 270.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1B2485
RGBrgb(27, 36, 133)
HSLhsl(235, 66%, 31%)
HSVhsv(235, 80%, 52%)
CMYKcmyk(79.7%, 72.9%, 0%, 47.8%)
CIE-LABlab(20.78, 32.67, -54.86)
CIE-LCHlch(20.78, 63.85, 300.77°)
OKLaboklab(33.05% 0.0005 -0.1589)
OKLCHoklch(33.05% 0.159 270.2)
XYZxyz(5.3151, 3.1876, 22.5209)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2485 #857C1B
analogous
#1B5985 #1B2485 #471B85
triadic
#1B2485 #851B24 #24851B
tetradic
#1B2485 #851B59 #857C1B #1B8547
square
#1B2485 #851B59 #857C1B #1B8547
split-complementary
#1B2485 #85471B #59851B
monochromatic
#06081F #111652 #1B2485 #2532B8 #424FD9

Accessibility & contrast

On white

12.82
#1B2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2485
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2485#FFFFFF#000000##FFFFFF
##1B24851.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2485;
/* rgb */ color: rgb(27, 36, 133);
/* oklch */ color: oklch(33.1% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b5faa',
    500: '#1b2485',
    950: '#000000',
  },
}
SCSS
$custom: #1b2485;
$custom-light: #6b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2485",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 234.906,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33053,
    "c": 0.15887,
    "h": 270.2
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#1B2485
secondary
#B8AE44
accent
#DB3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2485

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

Preview Lab → · Contrast checker → · Palette generator →

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