#262E91#262E91

#262E91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.160 H 272.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#262E91
RGBrgb(38, 46, 145)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(73.8%, 68.3%, 0%, 43.1%)
CIE-LABlab(24.98, 31.79, -55.41)
CIE-LCHlch(24.98, 63.88, 299.84°)
OKLaboklab(36.63% 0.0055 -0.1602)
OKLCHoklch(36.63% 0.16 272)
XYZxyz(6.8854, 4.4097, 27.2709)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E91 #918926
analogous
#266391 #262E91 #532691
triadic
#262E91 #91262E #2E9126
tetradic
#262E91 #912663 #918926 #269153
square
#262E91 #912663 #918926 #269153
split-complementary
#262E91 #915326 #639126
monochromatic
#0D0F30 #191F61 #262E91 #333DC1 #5D66D5

Accessibility & contrast

On white

11.16
#262E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E91
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E91#FFFFFF#000000##FFFFFF
##262E911.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.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: #262e91;
/* rgb */ color: rgb(38, 46, 145);
/* oklch */ color: oklch(36.6% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#7167b2',
    500: '#262e91',
    950: '#000000',
  },
}
SCSS
$custom: #262e91;
$custom-light: #7167b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262e91",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 235.514,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36625,
    "c": 0.16029,
    "h": 272
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#262E91
secondary
#BAB259
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E91

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

Preview Lab → · Contrast checker → · Palette generator →

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