#262176#262176

#262176 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.139 H 277.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#262176
RGBrgb(38, 33, 118)
HSLhsl(244, 56%, 30%)
HSVhsv(244, 72%, 46%)
CMYKcmyk(67.8%, 72%, 0%, 53.7%)
CIE-LABlab(19.26, 30.41, -47.82)
CIE-LCHlch(19.26, 56.67, 302.45°)
OKLaboklab(31.68% 0.0182 -0.138)
OKLCHoklch(31.68% 0.139 277.5)
XYZxyz(4.6121, 2.8074, 17.4349)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262176 #717621
analogous
#214776 #262176 #502176
triadic
#262176 #762621 #217626
tetradic
#262176 #762147 #717621 #217650
square
#262176 #762147 #717621 #217650
split-complementary
#262176 #765021 #477621
monochromatic
#080718 #171446 #262176 #352EA6 #4E46CB

Accessibility & contrast

On white

13.45
#262176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#262176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262176
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262176#FFFFFF#000000##FFFFFF
##2621761.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262176;
/* rgb */ color: rgb(38, 33, 118);
/* oklch */ color: oklch(31.7% 0.139 277.5);
Tailwind
colors: {
  custom: {
    50: '#6c5d9e',
    500: '#262176',
    950: '#000000',
  },
}
SCSS
$custom: #262176;
$custom-light: #6c5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#262176",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 243.529,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3168,
    "c": 0.1392,
    "h": 277.5
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#262176
secondary
#A4A94A
accent
#E048D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #262176

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

Preview Lab → · Contrast checker → · Palette generator →

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