#262AC5#262AC5

#262AC5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.229 H 269.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#262AC5
RGBrgb(38, 42, 197)
HSLhsl(238, 68%, 46%)
HSVhsv(238, 81%, 77%)
CMYKcmyk(80.7%, 78.7%, 0%, 22.7%)
CIE-LABlab(29.66, 51.94, -78.97)
CIE-LCHlch(29.66, 94.52, 303.33°)
OKLaboklab(41.59% -0.0007 -0.2287)
OKLCHoklch(41.59% 0.229 269.8)
XYZxyz(11.7019, 6.0979, 53.3728)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AC5 #C5C126
analogous
#2679C5 #262AC5 #7226C5
triadic
#262AC5 #C5262A #2AC526
tetradic
#262AC5 #C52679 #C5C126 #26C572
square
#262AC5 #C52679 #C5C126 #26C572
split-complementary
#262AC5 #C57226 #79C526
monochromatic
#12145E #1C1F92 #262AC5 #4C4FDC #7F82E6

Accessibility & contrast

On white

9.46
#262AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#262AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AC5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AC5#FFFFFF#000000##FFFFFF
##262AC51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003EC2
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #262ac5;
/* rgb */ color: rgb(38, 42, 197);
/* oklch */ color: oklch(41.6% 0.229 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e67d8',
    500: '#262ac5',
    950: '#000000',
  },
}
SCSS
$custom: #262ac5;
$custom-light: #7e67d8;
$custom-dark: #000000;
JSON
{
  "hex": "#262ac5",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 238.491,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.22873,
    "h": 269.8
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#262AC5
secondary
#CFCD78
accent
#E63DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #262AC5

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

Preview Lab → · Contrast checker → · Palette generator →

#262AC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva