#262CA1#262CA1

#262CA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.183 H 271.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#262CA1
RGBrgb(38, 44, 161)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(76.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.12, 38.78, -63.35)
CIE-LCHlch(26.12, 74.27, 301.47°)
OKLaboklab(37.92% 0.0047 -0.1834)
OKLCHoklch(37.92% 0.183 271.5)
XYZxyz(8.1309, 4.7858, 34.2065)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA1 #A19B26
analogous
#266AA1 #262CA1 #5E26A1
triadic
#262CA1 #A1262C #2CA126
tetradic
#262CA1 #A1266A #A19B26 #26A15E
square
#262CA1 #A1266A #A19B26 #26A15E
split-complementary
#262CA1 #A15E26 #6AA126
monochromatic
#0F113E #1A1E6F #262CA1 #353CCF #666CDB

Accessibility & contrast

On white

10.73
#262CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262CA1
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA1#FFFFFF#000000##FFFFFF
##262CA11.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ca1;
/* rgb */ color: rgb(38, 44, 161);
/* oklch */ color: oklch(37.9% 0.183 271.5);
Tailwind
colors: {
  custom: {
    50: '#7566be',
    500: '#262ca1',
    950: '#000000',
  },
}
SCSS
$custom: #262ca1;
$custom-light: #7566be;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca1",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 237.073,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.18342,
    "h": 271.5
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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