#262CA2#262CA2

#262CA2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.185 H 271.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#262CA2
RGBrgb(38, 44, 162)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 77%, 64%)
CMYKcmyk(76.5%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.22, 39.13, -63.78)
CIE-LCHlch(26.22, 74.83, 301.53°)
OKLaboklab(38.03% 0.0045 -0.1846)
OKLCHoklch(38.03% 0.185 271.4)
XYZxyz(8.2194, 4.8212, 34.6728)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA2 #A29C26
analogous
#266AA2 #262CA2 #5E26A2
triadic
#262CA2 #A2262C #2CA226
tetradic
#262CA2 #A2266A #A29C26 #26A25E
square
#262CA2 #A2266A #A29C26 #26A25E
split-complementary
#262CA2 #A25E26 #6AA226
monochromatic
#0F113F #1A1F70 #262CA2 #353DD0 #676DDB

Accessibility & contrast

On white

10.69
#262CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#262CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CA2
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA2#FFFFFF#000000##FFFFFF
##262CA21.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ca2;
/* rgb */ color: rgb(38, 44, 162);
/* oklch */ color: oklch(38.0% 0.185 271.4);
Tailwind
colors: {
  custom: {
    50: '#7566bf',
    500: '#262ca2',
    950: '#000000',
  },
}
SCSS
$custom: #262ca2;
$custom-light: #7566bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca2",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 237.097,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38029,
    "c": 0.1847,
    "h": 271.4
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#262CA2
secondary
#C1BD63
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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