#262AC7#262AC7

#262AC7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.231 H 269.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#262AC7
RGBrgb(38, 42, 199)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 78%)
CMYKcmyk(80.9%, 78.9%, 0%, 22%)
CIE-LABlab(29.89, 52.57, -79.77)
CIE-LCHlch(29.89, 95.53, 303.39°)
OKLaboklab(41.82% -0.0011 -0.231)
OKLCHoklch(41.82% 0.231 269.7)
XYZxyz(11.9326, 6.1901, 54.5877)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AC7 #C7C326
analogous
#267BC7 #262AC7 #7326C7
triadic
#262AC7 #C7262A #2AC726
tetradic
#262AC7 #C7267B #C7C326 #26C773
square
#262AC7 #C7267B #C7C326 #26C773
split-complementary
#262AC7 #C77326 #7BC726
monochromatic
#121460 #1C1F94 #262AC7 #4D51DD #8183E7

Accessibility & contrast

On white

9.38
#262AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#262AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AC7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AC7#FFFFFF#000000##FFFFFF
##262AC71.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECB
Deuteranopia (green-blind)
#003EC4
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #262ac7;
/* rgb */ color: rgb(38, 42, 199);
/* oklch */ color: oklch(41.8% 0.231 269.7);
Tailwind
colors: {
  custom: {
    50: '#7f67da',
    500: '#262ac7',
    950: '#000000',
  },
}
SCSS
$custom: #262ac7;
$custom-light: #7f67da;
$custom-dark: #000000;
JSON
{
  "hex": "#262ac7",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 238.509,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.23102,
    "h": 269.7
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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