#262290#262290

#262290 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.172 H 274.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#262290
RGBrgb(38, 34, 144)
HSLhsl(242, 62%, 35%)
HSVhsv(242, 76%, 56%)
CMYKcmyk(73.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.19, 38.83, -59.38)
CIE-LCHlch(22.19, 70.95, 303.18°)
OKLaboklab(34.59% 0.0126 -0.1718)
OKLCHoklch(34.59% 0.172 274.2)
XYZxyz(6.4037, 3.5691, 26.7316)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262290 #8C9022
analogous
#225590 #262290 #5D2290
triadic
#262290 #902622 #229026
tetradic
#262290 #902255 #8C9022 #22905D
square
#262290 #902255 #8C9022 #22905D
split-complementary
#262290 #905D22 #559022
monochromatic
#0C0B2D #19165E #262290 #332EC2 #5A55D7

Accessibility & contrast

On white

12.25
#262290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262290
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262290#FFFFFF#000000##FFFFFF
##2622901.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262290;
/* rgb */ color: rgb(38, 34, 144);
/* oklch */ color: oklch(34.6% 0.172 274.2);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#262290',
    950: '#000000',
  },
}
SCSS
$custom: #262290;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#262290",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 242.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34592,
    "c": 0.17222,
    "h": 274.2
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#262290
secondary
#B7BB53
accent
#E543DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262290

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

Preview Lab → · Contrast checker → · Palette generator →

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