#262893#262893

#262893 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.170 H 273.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#262893
RGBrgb(38, 40, 147)
HSLhsl(239, 59%, 36%)
HSVhsv(239, 74%, 58%)
CMYKcmyk(74.1%, 72.8%, 0%, 42.4%)
CIE-LABlab(23.79, 36.30, -58.61)
CIE-LCHlch(23.79, 68.94, 301.77°)
OKLaboklab(35.82% 0.0089 -0.1695)
OKLCHoklch(35.82% 0.17 273)
XYZxyz(6.8228, 4.0355, 28.0175)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262893 #939126
analogous
#265F93 #262893 #5B2693
triadic
#262893 #932628 #289326
tetradic
#262893 #93265F #939126 #26935B
square
#262893 #93265F #939126 #26935B
split-complementary
#262893 #935B26 #5F9326
monochromatic
#0D0E32 #191B62 #262893 #3335C4 #5E60D5

Accessibility & contrast

On white

11.62
#262893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262893
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262893#FFFFFF#000000##FFFFFF
##2628931.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262893;
/* rgb */ color: rgb(38, 40, 147);
/* oklch */ color: oklch(35.8% 0.170 273.0);
Tailwind
colors: {
  custom: {
    50: '#7263b4',
    500: '#262893',
    950: '#000000',
  },
}
SCSS
$custom: #262893;
$custom-light: #7263b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262893",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 238.899,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.16977,
    "h": 273
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262893

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

Preview Lab → · Contrast checker → · Palette generator →

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