#262199#262199

#262199 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.184 H 273.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#262199
RGBrgb(38, 33, 153)
HSLhsl(243, 65%, 36%)
HSVhsv(243, 78%, 60%)
CMYKcmyk(75.2%, 78.4%, 0%, 40%)
CIE-LABlab(23.00, 42.40, -63.61)
CIE-LCHlch(23.00, 76.45, 303.69°)
OKLaboklab(35.45% 0.0112 -0.184)
OKLCHoklch(35.45% 0.184 273.5)
XYZxyz(7.0910, 3.7990, 30.4904)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262199 #949921
analogous
#215899 #262199 #622199
triadic
#262199 #992621 #219926
tetradic
#262199 #992158 #949921 #219962
square
#262199 #992158 #949921 #219962
split-complementary
#262199 #996221 #589921
monochromatic
#0D0B34 #191667 #262199 #332CCB #5F59DB

Accessibility & contrast

On white

11.93
#262199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262199
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262199#FFFFFF#000000##FFFFFF
##2621991.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262199;
/* rgb */ color: rgb(38, 33, 153);
/* oklch */ color: oklch(35.5% 0.184 273.5);
Tailwind
colors: {
  custom: {
    50: '#745fb8',
    500: '#262199',
    950: '#000000',
  },
}
SCSS
$custom: #262199;
$custom-light: #745fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#262199",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 242.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.18439,
    "h": 273.5
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#262199
secondary
#BBBF56
accent
#E840E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #262199

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

Preview Lab → · Contrast checker → · Palette generator →

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