#262D7D#262D7D

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

Color values

HEX#262D7D
RGBrgb(38, 45, 125)
HSLhsl(235, 53%, 32%)
HSVhsv(235, 70%, 49%)
CMYKcmyk(69.6%, 64%, 0%, 51%)
CIE-LABlab(22.89, 25.03, -46.33)
CIE-LCHlch(22.89, 52.66, 298.38°)
OKLaboklab(34.53% 0.0077 -0.1336)
OKLCHoklch(34.53% 0.134 273.3)
XYZxyz(5.4382, 3.7690, 19.8390)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D7D #7D7626
analogous
#26597D #262D7D #4A267D
triadic
#262D7D #7D262D #2D7D26
tetradic
#262D7D #7D2659 #7D7626 #267D4A
square
#262D7D #7D2659 #7D7626 #267D4A
split-complementary
#262D7D #7D4A26 #597D26
monochromatic
#090B1F #181C4E #262D7D #343EAC #535CCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262D7D#FFFFFF#000000##FFFFFF
##262D7D1.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)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262d7d;
/* rgb */ color: rgb(38, 45, 125);
/* oklch */ color: oklch(34.5% 0.134 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#262d7d',
    950: '#000000',
  },
}
SCSS
$custom: #262d7d;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262d7d",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 235.172,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.13381,
    "h": 273.3
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#262D7D
secondary
#AFA750
accent
#D14BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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