#262181#262181

#262181 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.154 H 276.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#262181
RGBrgb(38, 33, 129)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 51%)
CMYKcmyk(70.5%, 74.4%, 0%, 49.4%)
CIE-LABlab(20.38, 34.27, -52.98)
CIE-LCHlch(20.38, 63.10, 302.90°)
OKLaboklab(32.82% 0.0162 -0.1531)
OKLCHoklch(32.82% 0.154 276)
XYZxyz(5.3043, 3.0843, 21.0804)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262181 #7C8121
analogous
#214C81 #262181 #562181
triadic
#262181 #812621 #218126
tetradic
#262181 #81214C #7C8121 #218156
square
#262181 #81214C #7C8121 #218156
split-complementary
#262181 #815621 #4C8121
monochromatic
#090820 #181550 #262181 #342DB2 #524BD1

Accessibility & contrast

On white

12.99
#262181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262181
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262181#FFFFFF#000000##FFFFFF
##2621811.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262181;
/* rgb */ color: rgb(38, 33, 129);
/* oklch */ color: oklch(32.8% 0.154 276.0);
Tailwind
colors: {
  custom: {
    50: '#6e5da7',
    500: '#262181',
    950: '#000000',
  },
}
SCSS
$custom: #262181;
$custom-light: #6e5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#262181",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 243.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32824,
    "c": 0.15394,
    "h": 276
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#262181
secondary
#AEB44A
accent
#E245DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #262181

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

Preview Lab → · Contrast checker → · Palette generator →

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