#262CA7#262CA7

#262CA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.191 H 271.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#262CA7
RGBrgb(38, 44, 167)
HSLhsl(237, 63%, 40%)
HSVhsv(237, 77%, 65%)
CMYKcmyk(77.2%, 73.7%, 0%, 34.5%)
CIE-LABlab(26.74, 40.87, -65.95)
CIE-LCHlch(26.74, 77.58, 301.79°)
OKLaboklab(38.56% 0.0038 -0.1909)
OKLCHoklch(38.56% 0.191 271.1)
XYZxyz(8.6727, 5.0025, 37.0602)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CA7 #A7A126
analogous
#266DA7 #262CA7 #6026A7
triadic
#262CA7 #A7262C #2CA726
tetradic
#262CA7 #A7266D #A7A126 #26A760
square
#262CA7 #A7266D #A7A126 #26A760
split-complementary
#262CA7 #A76026 #6DA726
monochromatic
#0F1243 #1B1F75 #262CA7 #3840D2 #6A70DD

Accessibility & contrast

On white

10.50
#262CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262CA7
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CA7#FFFFFF#000000##FFFFFF
##262CA71.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ca7;
/* rgb */ color: rgb(38, 44, 167);
/* oklch */ color: oklch(38.6% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#262ca7',
    950: '#000000',
  },
}
SCSS
$custom: #262ca7;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262ca7",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 237.209,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.19098,
    "h": 271.1
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#262CA7
secondary
#C3BF65
accent
#DE42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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