#262C91#262C91

#262C91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.163 H 272.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#262C91
RGBrgb(38, 44, 145)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 74%, 57%)
CMYKcmyk(73.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.50, 33.08, -56.20)
CIE-LCHlch(24.50, 65.21, 300.48°)
OKLaboklab(36.28% 0.0068 -0.1625)
OKLCHoklch(36.28% 0.163 272.4)
XYZxyz(6.8091, 4.2571, 27.2454)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C91 #918B26
analogous
#266191 #262C91 #562691
triadic
#262C91 #91262C #2C9126
tetradic
#262C91 #912661 #918B26 #269156
square
#262C91 #912661 #918B26 #269156
split-complementary
#262C91 #915626 #619126
monochromatic
#0D0F30 #191D61 #262C91 #333BC1 #5D64D5

Accessibility & contrast

On white

11.34
#262C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C91
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C91#FFFFFF#000000##FFFFFF
##262C911.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262c91;
/* rgb */ color: rgb(38, 44, 145);
/* oklch */ color: oklch(36.3% 0.163 272.4);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#262c91',
    950: '#000000',
  },
}
SCSS
$custom: #262c91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262c91",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 236.636,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.16264,
    "h": 272.4
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#262C91
secondary
#BAB459
accent
#D946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C91

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

Preview Lab → · Contrast checker → · Palette generator →

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