#262CA5#262CA5

#262CA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.188 H 271.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#262CA5
RGBrgb(38, 44, 165)
HSLhsl(237, 63%, 40%)
HSVhsv(237, 77%, 65%)
CMYKcmyk(77%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.53, 40.17, -65.09)
CIE-LCHlch(26.53, 76.49, 301.68°)
OKLaboklab(38.35% 0.0041 -0.1884)
OKLCHoklch(38.35% 0.188 271.2)
XYZxyz(8.4892, 4.9291, 36.0940)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA5 #A59F26
analogous
#266CA5 #262CA5 #5F26A5
triadic
#262CA5 #A5262C #2CA526
tetradic
#262CA5 #A5266C #A59F26 #26A55F
square
#262CA5 #A5266C #A59F26 #26A55F
split-complementary
#262CA5 #A55F26 #6CA526
monochromatic
#0F1142 #1B1F73 #262CA5 #373ED1 #696EDC

Accessibility & contrast

On white

10.57
#262CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262CA5
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA5#FFFFFF#000000##FFFFFF
##262CA51.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ca5;
/* rgb */ color: rgb(38, 44, 165);
/* oklch */ color: oklch(38.3% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#7666c1',
    500: '#262ca5',
    950: '#000000',
  },
}
SCSS
$custom: #262ca5;
$custom-light: #7666c1;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca5",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 237.165,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.18847,
    "h": 271.2
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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