#262B91#262B91

#262B91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.164 H 272.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#262B91
RGBrgb(38, 43, 145)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 74%, 57%)
CMYKcmyk(73.8%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.27, 33.71, -56.58)
CIE-LCHlch(24.27, 65.86, 300.79°)
OKLaboklab(36.11% 0.0074 -0.1636)
OKLCHoklch(36.11% 0.164 272.6)
XYZxyz(6.7723, 4.1835, 27.2332)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B91 #918C26
analogous
#266091 #262B91 #562691
triadic
#262B91 #91262B #2B9126
tetradic
#262B91 #912660 #918C26 #269156
square
#262B91 #912660 #918C26 #269156
split-complementary
#262B91 #915626 #609126
monochromatic
#0D0E30 #191D61 #262B91 #3339C1 #5D62D5

Accessibility & contrast

On white

11.43
#262B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#262B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B91
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B91#FFFFFF#000000##FFFFFF
##262B911.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262b91;
/* rgb */ color: rgb(38, 43, 145);
/* oklch */ color: oklch(36.1% 0.164 272.6);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#262b91',
    950: '#000000',
  },
}
SCSS
$custom: #262b91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262b91",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 237.196,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.1638,
    "h": 272.6
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#262B91
secondary
#BAB559
accent
#DA46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B91

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

Preview Lab → · Contrast checker → · Palette generator →

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