#1B259E#1B259E

#1B259E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.190 H 268.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#1B259E
RGBrgb(27, 37, 158)
HSLhsl(235, 71%, 36%)
HSVhsv(235, 83%, 62%)
CMYKcmyk(82.9%, 76.6%, 0%, 38%)
CIE-LABlab(23.75, 41.03, -65.45)
CIE-LCHlch(23.75, 77.25, 302.09°)
OKLaboklab(35.99% -0.0035 -0.1896)
OKLCHoklch(35.99% 0.19 268.9)
XYZxyz(7.2830, 4.0239, 32.7340)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B259E #9E941B
analogous
#1B679E #1B259E #531B9E
triadic
#1B259E #9E1B25 #259E1B
tetradic
#1B259E #9E1B67 #9E941B #1B9E53
square
#1B259E #9E1B67 #9E941B #1B9E53
split-complementary
#1B259E #9E531B #679E1B
monochromatic
#090D35 #12196A #1B259E #2431D2 #525DE1

Accessibility & contrast

On white

11.63
#1B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B259E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B259E#FFFFFF#000000##FFFFFF
##1B259E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b259e;
/* rgb */ color: rgb(27, 37, 158);
/* oklch */ color: oklch(36.0% 0.190 268.9);
Tailwind
colors: {
  custom: {
    50: '#7261bc',
    500: '#1b259e',
    950: '#000000',
  },
}
SCSS
$custom: #1b259e;
$custom-light: #7261bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b259e",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 235.42,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.18966,
    "h": 268.9
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#1B259E
secondary
#C4BB51
accent
#E03AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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