#262196#262196

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

Color values

HEX#262196
RGBrgb(38, 33, 150)
HSLhsl(243, 64%, 36%)
HSVhsv(243, 78%, 59%)
CMYKcmyk(74.7%, 78%, 0%, 41.2%)
CIE-LABlab(22.66, 41.41, -62.33)
CIE-LCHlch(22.66, 74.83, 303.60°)
OKLaboklab(35.12% 0.0118 -0.1803)
OKLCHoklch(35.12% 0.181 273.8)
XYZxyz(6.8464, 3.7011, 29.2018)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262196 #919621
analogous
#215696 #262196 #602196
triadic
#262196 #962621 #219626
tetradic
#262196 #962156 #919621 #219660
square
#262196 #962156 #919621 #219660
split-complementary
#262196 #966021 #569621
monochromatic
#0D0B32 #191664 #262196 #332CC8 #5D57DA

Accessibility & contrast

On white

12.07
#262196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262196
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262196#FFFFFF#000000##FFFFFF
##2621961.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262196;
/* rgb */ color: rgb(38, 33, 150);
/* oklch */ color: oklch(35.1% 0.181 273.8);
Tailwind
colors: {
  custom: {
    50: '#745fb6',
    500: '#262196',
    950: '#000000',
  },
}
SCSS
$custom: #262196;
$custom-light: #745fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#262196",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 242.564,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.1807,
    "h": 273.8
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#262196
secondary
#BABE55
accent
#E741E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #262196

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

Preview Lab → · Contrast checker → · Palette generator →

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