#262396#262396

#262396 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.179 H 273.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#262396
RGBrgb(38, 35, 150)
HSLhsl(242, 62%, 36%)
HSVhsv(242, 77%, 59%)
CMYKcmyk(74.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.05, 40.29, -61.68)
CIE-LCHlch(23.05, 73.67, 303.16°)
OKLaboklab(35.39% 0.0109 -0.1784)
OKLCHoklch(35.39% 0.179 273.5)
XYZxyz(6.9035, 3.8154, 29.2209)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262396 #939623
analogous
#235A96 #262396 #602396
triadic
#262396 #962623 #239626
tetradic
#262396 #96235A #939623 #239660
square
#262396 #96235A #939623 #239660
split-complementary
#262396 #966023 #5A9623
monochromatic
#0D0C33 #191764 #262396 #332FC8 #5E5BD9

Accessibility & contrast

On white

11.91
#262396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262396
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262396#FFFFFF#000000##FFFFFF
##2623961.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262396;
/* rgb */ color: rgb(38, 35, 150);
/* oklch */ color: oklch(35.4% 0.179 273.5);
Tailwind
colors: {
  custom: {
    50: '#7360b6',
    500: '#262396',
    950: '#000000',
  },
}
SCSS
$custom: #262396;
$custom-light: #7360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262396",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 241.565,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.17877,
    "h": 273.5
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#262396
secondary
#BABD58
accent
#E543E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262396

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

Preview Lab → · Contrast checker → · Palette generator →

#262396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva