#262193#262193

#262193 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.177 H 274.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#262193
RGBrgb(38, 33, 147)
HSLhsl(243, 63%, 35%)
HSVhsv(243, 78%, 58%)
CMYKcmyk(74.1%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.32, 40.41, -61.03)
CIE-LCHlch(22.32, 73.19, 303.51°)
OKLaboklab(34.78% 0.0125 -0.1765)
OKLCHoklch(34.78% 0.177 274)
XYZxyz(6.6079, 3.6057, 27.9458)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262193 #8E9321
analogous
#215593 #262193 #5F2193
triadic
#262193 #932621 #219326
tetradic
#262193 #932155 #8E9321 #21935F
square
#262193 #932155 #8E9321 #21935F
split-complementary
#262193 #935F21 #559321
monochromatic
#0C0B2F #191661 #262193 #332CC5 #5B55D9

Accessibility & contrast

On white

12.20
#262193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262193
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262193#FFFFFF#000000##FFFFFF
##2621931.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262193;
/* rgb */ color: rgb(38, 33, 147);
/* oklch */ color: oklch(34.8% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#735eb4',
    500: '#262193',
    950: '#000000',
  },
}
SCSS
$custom: #262193;
$custom-light: #735eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#262193",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 242.632,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34782,
    "c": 0.17698,
    "h": 274
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#262193
secondary
#B8BD53
accent
#E641DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #262193

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

Preview Lab → · Contrast checker → · Palette generator →

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