#262D9E#262D9E

#262D9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.179 H 271.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#262D9E
RGBrgb(38, 45, 158)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(75.9%, 71.5%, 0%, 38%)
CIE-LABlab(26.03, 37.11, -61.66)
CIE-LCHlch(26.03, 71.97, 301.04°)
OKLaboklab(37.77% 0.0046 -0.1785)
OKLCHoklch(37.77% 0.179 271.5)
XYZxyz(7.9072, 4.7566, 32.8425)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D9E #9E9726
analogous
#26699E #262D9E #5B269E
triadic
#262D9E #9E262D #2D9E26
tetradic
#262D9E #9E2669 #9E9726 #269E5B
square
#262D9E #9E2669 #9E9726 #269E5B
split-complementary
#262D9E #9E5B26 #699E26
monochromatic
#0E113B #1A1F6D #262D9E #333CCE #656BDA

Accessibility & contrast

On white

10.76
#262D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D9E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D9E#FFFFFF#000000##FFFFFF
##262D9E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262d9e;
/* rgb */ color: rgb(38, 45, 158);
/* oklch */ color: oklch(37.8% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#262d9e',
    950: '#000000',
  },
}
SCSS
$custom: #262d9e;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262d9e",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 236.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.17852,
    "h": 271.5
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#262D9E
secondary
#C0BA60
accent
#DB43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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