#262A91#262A91

#262A91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.165 H 272.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#262A91
RGBrgb(38, 42, 145)
HSLhsl(238, 58%, 36%)
HSVhsv(238, 74%, 57%)
CMYKcmyk(73.8%, 71%, 0%, 43.1%)
CIE-LABlab(24.04, 34.34, -56.96)
CIE-LCHlch(24.04, 66.52, 301.09°)
OKLaboklab(35.94% 0.008 -0.1647)
OKLCHoklch(35.94% 0.165 272.8)
XYZxyz(6.7364, 4.1117, 27.2212)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A91 #918D26
analogous
#265F91 #262A91 #572691
triadic
#262A91 #91262A #2A9126
tetradic
#262A91 #91265F #918D26 #269157
square
#262A91 #91265F #918D26 #269157
split-complementary
#262A91 #915726 #5F9126
monochromatic
#0D0E30 #191C61 #262A91 #3338C1 #5D61D5

Accessibility & contrast

On white

11.52
#262A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A91
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A91#FFFFFF#000000##FFFFFF
##262A911.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262a91;
/* rgb */ color: rgb(38, 42, 145);
/* oklch */ color: oklch(35.9% 0.165 272.8);
Tailwind
colors: {
  custom: {
    50: '#7164b2',
    500: '#262a91',
    950: '#000000',
  },
}
SCSS
$custom: #262a91;
$custom-light: #7164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262a91",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 237.757,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35941,
    "c": 0.16493,
    "h": 272.8
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#262A91
secondary
#BAB659
accent
#DC46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A91

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

Preview Lab → · Contrast checker → · Palette generator →

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