#262D76#262D76

#262D76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.124 H 273.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#262D76
RGBrgb(38, 45, 118)
HSLhsl(235, 51%, 31%)
HSVhsv(235, 68%, 46%)
CMYKcmyk(67.8%, 61.9%, 0%, 53.7%)
CIE-LABlab(22.29, 22.39, -42.86)
CIE-LCHlch(22.29, 48.36, 297.58°)
OKLaboklab(33.9% 0.0078 -0.1234)
OKLCHoklch(33.9% 0.124 273.6)
XYZxyz(5.0066, 3.5964, 17.5664)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D76 #766F26
analogous
#265576 #262D76 #472676
triadic
#262D76 #76262D #2D7626
tetradic
#262D76 #762655 #766F26 #267647
square
#262D76 #762655 #766F26 #267647
split-complementary
#262D76 #764726 #557626
monochromatic
#080A19 #171B48 #262D76 #353FA4 #505AC7

Accessibility & contrast

On white

12.21
#262D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D76
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D76#FFFFFF#000000##FFFFFF
##262D761.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262d76;
/* rgb */ color: rgb(38, 45, 118);
/* oklch */ color: oklch(33.9% 0.124 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b659e',
    500: '#262d76',
    950: '#000000',
  },
}
SCSS
$custom: #262d76;
$custom-light: #6b659e;
$custom-dark: #000000;
JSON
{
  "hex": "#262d76",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 234.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.12366,
    "h": 273.6
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#262D76
secondary
#A8A14F
accent
#CE4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262D76

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

Preview Lab → · Contrast checker → · Palette generator →

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