#262292#262292

#262292 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.175 H 274.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#262292
RGBrgb(38, 34, 146)
HSLhsl(242, 62%, 35%)
HSVhsv(242, 77%, 57%)
CMYKcmyk(74%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.41, 39.51, -60.26)
CIE-LCHlch(22.41, 72.06, 303.25°)
OKLaboklab(34.81% 0.0122 -0.1743)
OKLCHoklch(34.81% 0.175 274)
XYZxyz(6.5579, 3.6308, 27.5438)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262292 #8E9222
analogous
#225692 #262292 #5E2292
triadic
#262292 #922622 #229226
tetradic
#262292 #922256 #8E9222 #22925E
square
#262292 #922256 #8E9222 #22925E
split-complementary
#262292 #925E22 #569222
monochromatic
#0C0B2F #191660 #262292 #332EC4 #5B57D8

Accessibility & contrast

On white

12.17
#262292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262292
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262292#FFFFFF#000000##FFFFFF
##2622921.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262292;
/* rgb */ color: rgb(38, 34, 146);
/* oklch */ color: oklch(34.8% 0.175 274.0);
Tailwind
colors: {
  custom: {
    50: '#725fb3',
    500: '#262292',
    950: '#000000',
  },
}
SCSS
$custom: #262292;
$custom-light: #725fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#262292",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 242.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34812,
    "c": 0.17475,
    "h": 274
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#262292
secondary
#B8BC54
accent
#E543DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262292

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

Preview Lab → · Contrast checker → · Palette generator →

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