#1B249E#1B249E

#1B249E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.191 H 269.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1B249E
RGBrgb(27, 36, 158)
HSLhsl(236, 71%, 36%)
HSVhsv(236, 83%, 62%)
CMYKcmyk(82.9%, 77.2%, 0%, 38%)
CIE-LABlab(23.55, 41.61, -65.78)
CIE-LCHlch(23.55, 77.84, 302.31°)
OKLaboklab(35.85% -0.0032 -0.1906)
OKLCHoklch(35.85% 0.191 269)
XYZxyz(7.2523, 3.9625, 32.7237)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B249E #9E951B
analogous
#1B669E #1B249E #541B9E
triadic
#1B249E #9E1B24 #249E1B
tetradic
#1B249E #9E1B66 #9E951B #1B9E54
square
#1B249E #9E1B66 #9E951B #1B9E54
split-complementary
#1B249E #9E541B #669E1B
monochromatic
#090C35 #12186A #1B249E #2430D2 #525CE1

Accessibility & contrast

On white

11.71
#1B249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B249E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B249E#FFFFFF#000000##FFFFFF
##1B249E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b249e;
/* rgb */ color: rgb(27, 36, 158);
/* oklch */ color: oklch(35.8% 0.191 269.0);
Tailwind
colors: {
  custom: {
    50: '#7260bc',
    500: '#1b249e',
    950: '#000000',
  },
}
SCSS
$custom: #1b249e;
$custom-light: #7260bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b249e",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 235.878,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.19063,
    "h": 269
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#1B249E
secondary
#C4BC51
accent
#E13AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B249E

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

Preview Lab → · Contrast checker → · Palette generator →

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