#262C90#262C90

#262C90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.161 H 272.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#262C90
RGBrgb(38, 44, 144)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 74%, 56%)
CMYKcmyk(73.6%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.41, 32.71, -55.74)
CIE-LCHlch(24.41, 64.63, 300.41°)
OKLaboklab(36.18% 0.0069 -0.1612)
OKLCHoklch(36.18% 0.161 272.4)
XYZxyz(6.7324, 4.2264, 26.8411)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C90 #908A26
analogous
#266190 #262C90 #552690
triadic
#262C90 #90262C #2C9026
tetradic
#262C90 #902661 #908A26 #269055
square
#262C90 #902661 #908A26 #269055
split-complementary
#262C90 #905526 #619026
monochromatic
#0C0E2F #191D60 #262C90 #333BC0 #5C63D4

Accessibility & contrast

On white

11.38
#262C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C90
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C90#FFFFFF#000000##FFFFFF
##262C901.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262c90;
/* rgb */ color: rgb(38, 44, 144);
/* oklch */ color: oklch(36.2% 0.161 272.4);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#262c90',
    950: '#000000',
  },
}
SCSS
$custom: #262c90;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262c90",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 236.604,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.16131,
    "h": 272.4
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#262C90
secondary
#B9B459
accent
#D946E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C90

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

Preview Lab → · Contrast checker → · Palette generator →

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