#262293#262293

#262293 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.176 H 273.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#262293
RGBrgb(38, 34, 147)
HSLhsl(242, 62%, 35%)
HSVhsv(242, 77%, 58%)
CMYKcmyk(74.1%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.52, 39.85, -60.70)
CIE-LCHlch(22.52, 72.61, 303.28°)
OKLaboklab(34.92% 0.012 -0.1756)
OKLCHoklch(34.92% 0.176 273.9)
XYZxyz(6.6361, 3.6620, 27.9552)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262293 #8F9322
analogous
#225693 #262293 #5E2293
triadic
#262293 #932622 #229326
tetradic
#262293 #932256 #8F9322 #22935E
square
#262293 #932256 #8F9322 #22935E
split-complementary
#262293 #935E22 #569322
monochromatic
#0C0B30 #191761 #262293 #332DC5 #5C57D8

Accessibility & contrast

On white

12.12
#262293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262293
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262293#FFFFFF#000000##FFFFFF
##2622931.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262293;
/* rgb */ color: rgb(38, 34, 147);
/* oklch */ color: oklch(34.9% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#735fb4',
    500: '#262293',
    950: '#000000',
  },
}
SCSS
$custom: #262293;
$custom-light: #735fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#262293",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 242.124,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.176,
    "h": 273.9
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#262293
secondary
#B9BC55
accent
#E542E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262293

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

Preview Lab → · Contrast checker → · Palette generator →

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