#262099#262099

#262099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.185 H 273.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#262099
RGBrgb(38, 32, 153)
HSLhsl(243, 65%, 36%)
HSVhsv(243, 79%, 60%)
CMYKcmyk(75.2%, 79.1%, 0%, 40%)
CIE-LABlab(22.81, 42.94, -63.92)
CIE-LCHlch(22.81, 77.01, 303.89°)
OKLaboklab(35.32% 0.0116 -0.1849)
OKLCHoklch(35.32% 0.185 273.6)
XYZxyz(7.0637, 3.7443, 30.4813)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262099 #939920
analogous
#205799 #262099 #632099
triadic
#262099 #992620 #209926
tetradic
#262099 #992057 #939920 #209963
square
#262099 #992057 #939920 #209963
split-complementary
#262099 #996320 #579920
monochromatic
#0D0B34 #191566 #262099 #332BCC #5E57DC

Accessibility & contrast

On white

12.01
#262099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262099
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262099#FFFFFF#000000##FFFFFF
##2620991.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262099;
/* rgb */ color: rgb(38, 32, 153);
/* oklch */ color: oklch(35.3% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#745eb8',
    500: '#262099',
    950: '#000000',
  },
}
SCSS
$custom: #262099;
$custom-light: #745eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#262099",
  "rgb": {
    "r": 38,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 242.975,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35321,
    "c": 0.1853,
    "h": 273.6
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#262099
secondary
#BAC055
accent
#E83FE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #262099

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

Preview Lab → · Contrast checker → · Palette generator →

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