#262891#262891

#262891 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.167 H 273.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#262891
RGBrgb(38, 40, 145)
HSLhsl(239, 58%, 36%)
HSVhsv(239, 74%, 57%)
CMYKcmyk(73.8%, 72.4%, 0%, 43.1%)
CIE-LABlab(23.58, 35.59, -57.71)
CIE-LCHlch(23.58, 67.80, 301.66°)
OKLaboklab(35.61% 0.0092 -0.1669)
OKLCHoklch(35.61% 0.167 273.2)
XYZxyz(6.6672, 3.9733, 27.1981)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262891 #918F26
analogous
#265D91 #262891 #5A2691
triadic
#262891 #912628 #289126
tetradic
#262891 #91265D #918F26 #26915A
square
#262891 #91265D #918F26 #26915A
split-complementary
#262891 #915A26 #5D9126
monochromatic
#0D0D30 #191B61 #262891 #3335C1 #5D5FD5

Accessibility & contrast

On white

11.70
#262891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262891
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262891#FFFFFF#000000##FFFFFF
##2628911.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262891;
/* rgb */ color: rgb(38, 40, 145);
/* oklch */ color: oklch(35.6% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#262891',
    950: '#000000',
  },
}
SCSS
$custom: #262891;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262891",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 238.879,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.16717,
    "h": 273.2
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#262891
secondary
#BAB859
accent
#DF46E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262891

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

Preview Lab → · Contrast checker → · Palette generator →

#262891 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva