#262185#262185

#262185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.159 H 275.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#262185
RGBrgb(38, 33, 133)
HSLhsl(243, 60%, 33%)
HSVhsv(243, 75%, 52%)
CMYKcmyk(71.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.80, 35.66, -54.81)
CIE-LCHlch(20.80, 65.39, 303.05°)
OKLaboklab(33.25% 0.0154 -0.1584)
OKLCHoklch(33.25% 0.159 275.6)
XYZxyz(5.5754, 3.1927, 22.5082)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262185 #808521
analogous
#214E85 #262185 #582185
triadic
#262185 #852621 #218526
tetradic
#262185 #85214E #808521 #218558
square
#262185 #85214E #808521 #218558
split-complementary
#262185 #855821 #4E8521
monochromatic
#0A0923 #181554 #262185 #342DB6 #544DD3

Accessibility & contrast

On white

12.82
#262185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262185
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262185#FFFFFF#000000##FFFFFF
##2621851.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262185;
/* rgb */ color: rgb(38, 33, 133);
/* oklch */ color: oklch(33.3% 0.159 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f5eaa',
    500: '#262185',
    950: '#000000',
  },
}
SCSS
$custom: #262185;
$custom-light: #6f5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#262185",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 243,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.15918,
    "h": 275.6
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#262185
secondary
#B1B64C
accent
#E344DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #262185

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

Preview Lab → · Contrast checker → · Palette generator →

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