#262EA1#262EA1

#262EA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.181 H 271.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#262EA1
RGBrgb(38, 46, 161)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(76.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.56, 37.56, -62.62)
CIE-LCHlch(26.56, 73.02, 300.95°)
OKLaboklab(38.24% 0.0037 -0.1812)
OKLCHoklch(38.24% 0.181 271.2)
XYZxyz(8.2072, 4.9384, 34.2320)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA1 #A19926
analogous
#266CA1 #262EA1 #5C26A1
triadic
#262EA1 #A1262E #2EA126
tetradic
#262EA1 #A1266C #A19926 #26A15C
square
#262EA1 #A1266C #A19926 #26A15C
split-complementary
#262EA1 #A15C26 #6CA126
monochromatic
#0F123E #1A206F #262EA1 #353FCF #666EDB

Accessibility & contrast

On white

10.56
#262EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#262EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EA1
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA1#FFFFFF#000000##FFFFFF
##262EA11.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ea1;
/* rgb */ color: rgb(38, 46, 161);
/* oklch */ color: oklch(38.2% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#7567be',
    500: '#262ea1',
    950: '#000000',
  },
}
SCSS
$custom: #262ea1;
$custom-light: #7567be;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea1",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 236.098,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.18128,
    "h": 271.2
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#262EA1
secondary
#C1BB62
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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