#262159#262159

#262159 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.097 H 282.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#262159
RGBrgb(38, 33, 89)
HSLhsl(245, 46%, 24%)
HSVhsv(245, 63%, 35%)
CMYKcmyk(57.3%, 62.9%, 0%, 65.1%)
CIE-LABlab(16.61, 19.99, -33.14)
CIE-LCHlch(16.61, 38.71, 301.10°)
OKLaboklab(28.93% 0.021 -0.0949)
OKLCHoklch(28.93% 0.097 282.5)
XYZxyz(3.1458, 2.2209, 9.7122)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262159 #545921
analogous
#213859 #262159 #422159
triadic
#262159 #592621 #215926
tetradic
#262159 #592138 #545921 #215942
square
#262159 #592138 #545921 #215942
split-complementary
#262159 #594221 #385921
monochromatic
#0A0816 #13102C #262159 #393286 #4C42B2

Accessibility & contrast

On white

14.54
#262159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#262159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262159
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262159#FFFFFF#000000##FFFFFF
##2621591.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#102E39
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262159;
/* rgb */ color: rgb(38, 33, 89);
/* oklch */ color: oklch(28.9% 0.097 282.5);
Tailwind
colors: {
  custom: {
    50: '#665c88',
    500: '#262159',
    950: '#000000',
  },
}
SCSS
$custom: #262159;
$custom-light: #665c88;
$custom-dark: #000000;
JSON
{
  "hex": "#262159",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 245.357,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28929,
    "c": 0.09724,
    "h": 282.5
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#262159
secondary
#878D49
accent
#D652CA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #262159

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

Preview Lab → · Contrast checker → · Palette generator →

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