#262EA2#262EA2

#262EA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.183 H 271.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#262EA2
RGBrgb(38, 46, 162)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 77%, 64%)
CMYKcmyk(76.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(26.66, 37.91, -63.06)
CIE-LCHlch(26.66, 73.58, 301.01°)
OKLaboklab(38.35% 0.0035 -0.1825)
OKLCHoklch(38.35% 0.183 271.1)
XYZxyz(8.2957, 4.9738, 34.6982)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA2 #A29A26
analogous
#266CA2 #262EA2 #5C26A2
triadic
#262EA2 #A2262E #2EA226
tetradic
#262EA2 #A2266C #A29A26 #26A25C
square
#262EA2 #A2266C #A29A26 #26A25C
split-complementary
#262EA2 #A25C26 #6CA226
monochromatic
#0F123F #1A2070 #262EA2 #353FD0 #676FDB

Accessibility & contrast

On white

10.53
#262EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#262EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EA2
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA2#FFFFFF#000000##FFFFFF
##262EA21.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ea2;
/* rgb */ color: rgb(38, 46, 162);
/* oklch */ color: oklch(38.3% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#7567bf',
    500: '#262ea2',
    950: '#000000',
  },
}
SCSS
$custom: #262ea2;
$custom-light: #7567bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea2",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 236.129,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.18255,
    "h": 271.1
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#262EA2
secondary
#C1BB63
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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