#262180#262180

#262180 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.153 H 276.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#262180
RGBrgb(38, 33, 128)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 50%)
CMYKcmyk(70.3%, 74.2%, 0%, 49.8%)
CIE-LABlab(20.27, 33.92, -52.52)
CIE-LCHlch(20.27, 62.52, 302.86°)
OKLaboklab(32.72% 0.0164 -0.1517)
OKLCHoklch(32.72% 0.153 276.2)
XYZxyz(5.2382, 3.0578, 20.7321)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262180 #7B8021
analogous
#214C80 #262180 #562180
triadic
#262180 #802621 #218026
tetradic
#262180 #80214C #7B8021 #218056
square
#262180 #80214C #7B8021 #218056
split-complementary
#262180 #805621 #4C8021
monochromatic
#09081F #18144F #262180 #342EB1 #524BD1

Accessibility & contrast

On white

13.03
#262180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#262180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262180
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262180#FFFFFF#000000##FFFFFF
##2621801.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262180;
/* rgb */ color: rgb(38, 33, 128);
/* oklch */ color: oklch(32.7% 0.153 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e5da6',
    500: '#262180',
    950: '#000000',
  },
}
SCSS
$custom: #262180;
$custom-light: #6e5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#262180",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 243.158,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.15263,
    "h": 276.2
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#262180
secondary
#ADB34A
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #262180

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

Preview Lab → · Contrast checker → · Palette generator →

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