#262195#262195

#262195 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.179 H 273.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#262195
RGBrgb(38, 33, 149)
HSLhsl(243, 64%, 36%)
HSVhsv(243, 78%, 58%)
CMYKcmyk(74.5%, 77.9%, 0%, 41.6%)
CIE-LABlab(22.55, 41.08, -61.89)
CIE-LCHlch(22.55, 74.29, 303.57°)
OKLaboklab(35% 0.0121 -0.1791)
OKLCHoklch(35% 0.179 273.8)
XYZxyz(6.7662, 3.6690, 28.7795)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262195 #909521
analogous
#215695 #262195 #602195
triadic
#262195 #952621 #219526
tetradic
#262195 #952156 #909521 #219560
square
#262195 #952156 #909521 #219560
split-complementary
#262195 #956021 #569521
monochromatic
#0C0B31 #191663 #262195 #332CC7 #5C57DA

Accessibility & contrast

On white

12.11
#262195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262195
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262195#FFFFFF#000000##FFFFFF
##2621951.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262195;
/* rgb */ color: rgb(38, 33, 149);
/* oklch */ color: oklch(35.0% 0.179 273.8);
Tailwind
colors: {
  custom: {
    50: '#735eb5',
    500: '#262195',
    950: '#000000',
  },
}
SCSS
$custom: #262195;
$custom-light: #735eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#262195",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 242.586,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35005,
    "c": 0.17946,
    "h": 273.8
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#262195
secondary
#B9BE54
accent
#E741E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #262195

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

Preview Lab → · Contrast checker → · Palette generator →

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