#262194#262194

#262194 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.178 H 273.9°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#262194
RGBrgb(38, 33, 148)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 58%)
CMYKcmyk(74.3%, 77.7%, 0%, 42%)
CIE-LABlab(22.43, 40.75, -61.46)
CIE-LCHlch(22.43, 73.74, 303.54°)
OKLaboklab(34.89% 0.0123 -0.1778)
OKLCHoklch(34.89% 0.178 273.9)
XYZxyz(6.6867, 3.6372, 28.3609)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262194 #8F9421
analogous
#215594 #262194 #602194
triadic
#262194 #942621 #219426
tetradic
#262194 #942155 #8F9421 #219460
square
#262194 #942155 #8F9421 #219460
split-complementary
#262194 #946021 #559421
monochromatic
#0C0B30 #191662 #262194 #332CC6 #5C56D9

Accessibility & contrast

On white

12.16
#262194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262194
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262194#FFFFFF#000000##FFFFFF
##2621941.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262194;
/* rgb */ color: rgb(38, 33, 148);
/* oklch */ color: oklch(34.9% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#735eb5',
    500: '#262194',
    950: '#000000',
  },
}
SCSS
$custom: #262194;
$custom-light: #735eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#262194",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 242.609,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.17822,
    "h": 273.9
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#262194
secondary
#B9BD54
accent
#E741DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #262194

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

Preview Lab → · Contrast checker → · Palette generator →

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