#262FA2#262FA2

#262FA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.181 H 271.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#262FA2
RGBrgb(38, 47, 162)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 77%, 64%)
CMYKcmyk(76.5%, 71%, 0%, 36.5%)
CIE-LABlab(26.88, 37.29, -62.69)
CIE-LCHlch(26.88, 72.94, 300.75°)
OKLaboklab(38.51% 0.003 -0.1814)
OKLCHoklch(38.51% 0.181 271)
XYZxyz(8.3352, 5.0528, 34.7114)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FA2 #A29926
analogous
#266DA2 #262FA2 #5B26A2
triadic
#262FA2 #A2262F #2FA226
tetradic
#262FA2 #A2266D #A29926 #26A25B
square
#262FA2 #A2266D #A29926 #26A25B
split-complementary
#262FA2 #A25B26 #6DA226
monochromatic
#0F123F #1A2170 #262FA2 #3541D0 #676FDB

Accessibility & contrast

On white

10.44
#262FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#262FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FA2
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FA2#FFFFFF#000000##FFFFFF
##262FA21.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262fa2;
/* rgb */ color: rgb(38, 47, 162);
/* oklch */ color: oklch(38.5% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#7568bf',
    500: '#262fa2',
    950: '#000000',
  },
}
SCSS
$custom: #262fa2;
$custom-light: #7568bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262fa2",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 235.645,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.18148,
    "h": 271
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#262FA2
secondary
#C1BA63
accent
#D943E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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