#262D9D#262D9D

#262D9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.177 H 271.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#262D9D
RGBrgb(38, 45, 157)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(75.8%, 71.3%, 0%, 38.4%)
CIE-LABlab(25.93, 36.75, -61.22)
CIE-LCHlch(25.93, 71.41, 300.98°)
OKLaboklab(37.67% 0.0047 -0.1772)
OKLCHoklch(37.67% 0.177 271.5)
XYZxyz(7.8215, 4.7223, 32.3910)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D9D #9D9626
analogous
#26689D #262D9D #5B269D
triadic
#262D9D #9D262D #2D9D26
tetradic
#262D9D #9D2668 #9D9626 #269D5B
square
#262D9D #9D2668 #9D9626 #269D5B
split-complementary
#262D9D #9D5B26 #689D26
monochromatic
#0E113A #1A1F6C #262D9D #333CCE #646BD9

Accessibility & contrast

On white

10.80
#262D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D9D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D9D#FFFFFF#000000##FFFFFF
##262D9D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262d9d;
/* rgb */ color: rgb(38, 45, 157);
/* oklch */ color: oklch(37.7% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#7467bb',
    500: '#262d9d',
    950: '#000000',
  },
}
SCSS
$custom: #262d9d;
$custom-light: #7467bb;
$custom-dark: #000000;
JSON
{
  "hex": "#262d9d",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 236.471,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.17723,
    "h": 271.5
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#262D9D
secondary
#BFB960
accent
#DB44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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