#262890#262890

#262890 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.166 H 273.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#262890
RGBrgb(38, 40, 144)
HSLhsl(239, 58%, 36%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(73.6%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.48, 35.24, -57.26)
CIE-LCHlch(23.48, 67.23, 301.61°)
OKLaboklab(35.51% 0.0093 -0.1656)
OKLCHoklch(35.51% 0.166 273.2)
XYZxyz(6.5905, 3.9426, 26.7938)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262890 #908E26
analogous
#265D90 #262890 #592690
triadic
#262890 #902628 #289026
tetradic
#262890 #90265D #908E26 #269059
square
#262890 #90265D #908E26 #269059
split-complementary
#262890 #905926 #5D9026
monochromatic
#0C0D2F #191B60 #262890 #3335C0 #5C5FD4

Accessibility & contrast

On white

11.74
#262890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262890
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262890#FFFFFF#000000##FFFFFF
##2628901.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262890;
/* rgb */ color: rgb(38, 40, 144);
/* oklch */ color: oklch(35.5% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#7163b2',
    500: '#262890',
    950: '#000000',
  },
}
SCSS
$custom: #262890;
$custom-light: #7163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262890",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 238.868,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3551,
    "c": 0.16586,
    "h": 273.2
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#262890
secondary
#B9B759
accent
#DF46E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262890

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

Preview Lab → · Contrast checker → · Palette generator →

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