#262DA2#262DA2

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

Color values

HEX#262DA2
RGBrgb(38, 45, 162)
HSLhsl(237, 62%, 39%)
HSVhsv(237, 77%, 64%)
CMYKcmyk(76.5%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.44, 38.52, -63.42)
CIE-LCHlch(26.44, 74.21, 301.27°)
OKLaboklab(38.19% 0.004 -0.1836)
OKLCHoklch(38.19% 0.184 271.3)
XYZxyz(8.2571, 4.8966, 34.6854)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DA2 #A29B26
analogous
#266BA2 #262DA2 #5D26A2
triadic
#262DA2 #A2262D #2DA226
tetradic
#262DA2 #A2266B #A29B26 #26A25D
square
#262DA2 #A2266B #A29B26 #26A25D
split-complementary
#262DA2 #A25D26 #6BA226
monochromatic
#0F113F #1A1F70 #262DA2 #353ED0 #676EDB

Accessibility & contrast

On white

10.61
#262DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#262DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DA2
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DA2#FFFFFF#000000##FFFFFF
##262DA21.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262da2;
/* rgb */ color: rgb(38, 45, 162);
/* oklch */ color: oklch(38.2% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#7567bf',
    500: '#262da2',
    950: '#000000',
  },
}
SCSS
$custom: #262da2;
$custom-light: #7567bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262da2",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 236.613,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.18363,
    "h": 271.3
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#262DA2
secondary
#C1BC63
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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