#262399#262399

#262399 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.182 H 273.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#262399
RGBrgb(38, 35, 153)
HSLhsl(242, 63%, 37%)
HSVhsv(242, 77%, 60%)
CMYKcmyk(75.2%, 77.1%, 0%, 40%)
CIE-LABlab(23.38, 41.30, -62.97)
CIE-LCHlch(23.38, 75.31, 303.26°)
OKLaboklab(35.73% 0.0103 -0.1822)
OKLCHoklch(35.73% 0.183 273.2)
XYZxyz(7.1482, 3.9133, 30.5094)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262399 #969923
analogous
#235B99 #262399 #612399
triadic
#262399 #992623 #239926
tetradic
#262399 #99235B #969923 #239961
square
#262399 #99235B #969923 #239961
split-complementary
#262399 #996123 #5B9923
monochromatic
#0D0C35 #1A1867 #262399 #322ECB #605DDA

Accessibility & contrast

On white

11.78
#262399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262399
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262399#FFFFFF#000000##FFFFFF
##2623991.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262399;
/* rgb */ color: rgb(38, 35, 153);
/* oklch */ color: oklch(35.7% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#7460b8',
    500: '#262399',
    950: '#000000',
  },
}
SCSS
$custom: #262399;
$custom-light: #7460b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262399",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 241.525,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.1825,
    "h": 273.2
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#262399
secondary
#BCBE59
accent
#E642E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #262399

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

Preview Lab → · Contrast checker → · Palette generator →

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