#262C80#262C80

#262C80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.139 H 273.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#262C80
RGBrgb(38, 44, 128)
HSLhsl(236, 54%, 33%)
HSVhsv(236, 70%, 50%)
CMYKcmyk(70.3%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.90, 26.83, -48.21)
CIE-LCHlch(22.90, 55.17, 299.09°)
OKLaboklab(34.62% 0.0083 -0.1391)
OKLCHoklch(34.62% 0.139 273.4)
XYZxyz(5.5950, 3.7714, 20.8510)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C80 #807A26
analogous
#265980 #262C80 #4D2680
triadic
#262C80 #80262C #2C8026
tetradic
#262C80 #802659 #807A26 #26804D
square
#262C80 #802659 #807A26 #26804D
split-complementary
#262C80 #804D26 #598026
monochromatic
#0A0C22 #181C51 #262C80 #343CAF #545CCC

Accessibility & contrast

On white

11.97
#262C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C80
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C80#FFFFFF#000000##FFFFFF
##262C801.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262c80;
/* rgb */ color: rgb(38, 44, 128);
/* oklch */ color: oklch(34.6% 0.139 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d65a6',
    500: '#262c80',
    950: '#000000',
  },
}
SCSS
$custom: #262c80;
$custom-light: #6d65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262c80",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 236,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.13937,
    "h": 273.4
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#262C80
secondary
#B1AA51
accent
#D44ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262C80

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

Preview Lab → · Contrast checker → · Palette generator →

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