#262FA1#262FA1

#262FA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.180 H 271.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#262FA1
RGBrgb(38, 47, 161)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(76.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.78, 36.94, -62.25)
CIE-LCHlch(26.78, 72.38, 300.69°)
OKLaboklab(38.41% 0.0031 -0.1802)
OKLCHoklch(38.41% 0.18 271)
XYZxyz(8.2467, 5.0174, 34.2451)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FA1 #A19826
analogous
#266DA1 #262FA1 #5B26A1
triadic
#262FA1 #A1262F #2FA126
tetradic
#262FA1 #A1266D #A19826 #26A15B
square
#262FA1 #A1266D #A19826 #26A15B
split-complementary
#262FA1 #A15B26 #6DA126
monochromatic
#0F123E #1A216F #262FA1 #3540CF #666FDB

Accessibility & contrast

On white

10.48
#262FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262FA1
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FA1#FFFFFF#000000##FFFFFF
##262FA11.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262fa1;
/* rgb */ color: rgb(38, 47, 161);
/* oklch */ color: oklch(38.4% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#7568be',
    500: '#262fa1',
    950: '#000000',
  },
}
SCSS
$custom: #262fa1;
$custom-light: #7568be;
$custom-dark: #000000;
JSON
{
  "hex": "#262fa1",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 235.61,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.18019,
    "h": 271
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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