#262179#262179

#262179 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.143 H 277.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#262179
RGBrgb(38, 33, 121)
HSLhsl(243, 57%, 30%)
HSVhsv(243, 73%, 47%)
CMYKcmyk(68.6%, 72.7%, 0%, 52.5%)
CIE-LABlab(19.56, 31.47, -49.25)
CIE-LCHlch(19.56, 58.44, 302.58°)
OKLaboklab(31.99% 0.0177 -0.1422)
OKLCHoklch(31.99% 0.143 277.1)
XYZxyz(4.7933, 2.8798, 18.3887)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262179 #747921
analogous
#214879 #262179 #522179
triadic
#262179 #792621 #217926
tetradic
#262179 #792148 #747921 #217952
square
#262179 #792148 #747921 #217952
split-complementary
#262179 #795221 #487921
monochromatic
#080719 #171449 #262179 #352EA9 #4F47CD

Accessibility & contrast

On white

13.32
#262179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#262179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262179
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262179#FFFFFF#000000##FFFFFF
##2621791.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262179;
/* rgb */ color: rgb(38, 33, 121);
/* oklch */ color: oklch(32.0% 0.143 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d5da1',
    500: '#262179',
    950: '#000000',
  },
}
SCSS
$custom: #262179;
$custom-light: #6d5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#262179",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 243.409,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31987,
    "c": 0.14328,
    "h": 277.1
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#262179
secondary
#A6AC4A
accent
#E047D8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #262179

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

Preview Lab → · Contrast checker → · Palette generator →

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