#262D91#262D91

#262D91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.161 H 272.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#262D91
RGBrgb(38, 45, 145)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(73.8%, 69%, 0%, 43.1%)
CIE-LABlab(24.74, 32.43, -55.81)
CIE-LCHlch(24.74, 64.55, 300.16°)
OKLaboklab(36.45% 0.0061 -0.1614)
OKLCHoklch(36.45% 0.161 272.2)
XYZxyz(6.8468, 4.3325, 27.2580)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D91 #918A26
analogous
#266291 #262D91 #542691
triadic
#262D91 #91262D #2D9126
tetradic
#262D91 #912662 #918A26 #269154
square
#262D91 #912662 #918A26 #269154
split-complementary
#262D91 #915426 #629126
monochromatic
#0D0F30 #191E61 #262D91 #333CC1 #5D65D5

Accessibility & contrast

On white

11.25
#262D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D91
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D91#FFFFFF#000000##FFFFFF
##262D911.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262d91;
/* rgb */ color: rgb(38, 45, 145);
/* oklch */ color: oklch(36.4% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#7166b2',
    500: '#262d91',
    950: '#000000',
  },
}
SCSS
$custom: #262d91;
$custom-light: #7166b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262d91",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 236.075,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.16148,
    "h": 272.2
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#262D91
secondary
#BAB359
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D91

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

Preview Lab → · Contrast checker → · Palette generator →

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