#262CA6#262CA6

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

Color values

HEX#262CA6
RGBrgb(38, 44, 166)
HSLhsl(237, 63%, 40%)
HSVhsv(237, 77%, 65%)
CMYKcmyk(77.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(26.64, 40.52, -65.52)
CIE-LCHlch(26.64, 77.04, 301.74°)
OKLaboklab(38.45% 0.0039 -0.1897)
OKLCHoklch(38.45% 0.19 271.2)
XYZxyz(8.5806, 4.9657, 36.5752)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA6 #A6A026
analogous
#266CA6 #262CA6 #6026A6
triadic
#262CA6 #A6262C #2CA626
tetradic
#262CA6 #A6266C #A6A026 #26A660
square
#262CA6 #A6266C #A6A026 #26A660
split-complementary
#262CA6 #A66026 #6CA626
monochromatic
#0F1242 #1B1F74 #262CA6 #383FD1 #6A6FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262CA6#FFFFFF#000000##FFFFFF
##262CA61.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ca6;
/* rgb */ color: rgb(38, 44, 166);
/* oklch */ color: oklch(38.5% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#7666c2',
    500: '#262ca6',
    950: '#000000',
  },
}
SCSS
$custom: #262ca6;
$custom-light: #7666c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca6",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 237.188,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.18972,
    "h": 271.2
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#262CA6
secondary
#C3BF65
accent
#DE42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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