#262289#262289

#262289 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.163 H 274.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#262289
RGBrgb(38, 34, 137)
HSLhsl(242, 60%, 34%)
HSVhsv(242, 75%, 54%)
CMYKcmyk(72.3%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.44, 36.44, -56.27)
CIE-LCHlch(21.44, 67.03, 302.93°)
OKLaboklab(33.83% 0.014 -0.1627)
OKLCHoklch(33.83% 0.163 274.9)
XYZxyz(5.8852, 3.3617, 24.0008)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262289 #858922
analogous
#225189 #262289 #592289
triadic
#262289 #892622 #228926
tetradic
#262289 #892251 #858922 #228959
square
#262289 #892251 #858922 #228959
split-complementary
#262289 #895922 #518922
monochromatic
#0B0A27 #181658 #262289 #342EBA #5751D4

Accessibility & contrast

On white

12.56
#262289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262289
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262289#FFFFFF#000000##FFFFFF
##2622891.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262289;
/* rgb */ color: rgb(38, 34, 137);
/* oklch */ color: oklch(33.8% 0.163 274.9);
Tailwind
colors: {
  custom: {
    50: '#705ead',
    500: '#262289',
    950: '#000000',
  },
}
SCSS
$custom: #262289;
$custom-light: #705ead;
$custom-dark: #000000;
JSON
{
  "hex": "#262289",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 242.33,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.16328,
    "h": 274.9
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#262289
secondary
#B3B84F
accent
#E344DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #262289

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

Preview Lab → · Contrast checker → · Palette generator →

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