#262186#262186

#262186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.160 H 275.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#262186
RGBrgb(38, 33, 134)
HSLhsl(243, 60%, 33%)
HSVhsv(243, 75%, 53%)
CMYKcmyk(71.6%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.91, 36.00, -55.26)
CIE-LCHlch(20.91, 65.95, 303.08°)
OKLaboklab(33.36% 0.0152 -0.1597)
OKLCHoklch(33.36% 0.16 275.4)
XYZxyz(5.6448, 3.2205, 22.8738)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262186 #818621
analogous
#214F86 #262186 #582186
triadic
#262186 #862621 #218626
tetradic
#262186 #86214F #818621 #218658
square
#262186 #86214F #818621 #218658
split-complementary
#262186 #865821 #4F8621
monochromatic
#0A0924 #181555 #262186 #342DB7 #554ED3

Accessibility & contrast

On white

12.77
#262186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#262186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262186
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262186#FFFFFF#000000##FFFFFF
##2621861.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262186;
/* rgb */ color: rgb(38, 33, 134);
/* oklch */ color: oklch(33.4% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#262186',
    950: '#000000',
  },
}
SCSS
$custom: #262186;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#262186",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 242.97,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33358,
    "c": 0.16047,
    "h": 275.4
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#262186
secondary
#B1B74C
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #262186

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

Preview Lab → · Contrast checker → · Palette generator →

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