#262299#262299

#262299 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.183 H 273.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#262299
RGBrgb(38, 34, 153)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 60%)
CMYKcmyk(75.2%, 77.8%, 0%, 40%)
CIE-LABlab(23.19, 41.86, -63.30)
CIE-LCHlch(23.19, 75.88, 303.48°)
OKLaboklab(35.59% 0.0107 -0.1831)
OKLCHoklch(35.59% 0.183 273.4)
XYZxyz(7.1192, 3.8553, 30.4998)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262299 #959922
analogous
#225A99 #262299 #622299
triadic
#262299 #992622 #229926
tetradic
#262299 #99225A #959922 #229962
square
#262299 #99225A #959922 #229962
split-complementary
#262299 #996222 #5A9922
monochromatic
#0D0C35 #1A1767 #262299 #322DCB #5F5BDB

Accessibility & contrast

On white

11.86
#262299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262299
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262299#FFFFFF#000000##FFFFFF
##2622991.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262299;
/* rgb */ color: rgb(38, 34, 153);
/* oklch */ color: oklch(35.6% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#745fb8',
    500: '#262299',
    950: '#000000',
  },
}
SCSS
$custom: #262299;
$custom-light: #745fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#262299",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 242.017,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.18345,
    "h": 273.4
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#262299
secondary
#BBBF58
accent
#E741E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #262299

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

Preview Lab → · Contrast checker → · Palette generator →

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