#262177#262177

#262177 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.141 H 277.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#262177
RGBrgb(38, 33, 119)
HSLhsl(243, 57%, 30%)
HSVhsv(243, 72%, 47%)
CMYKcmyk(68.1%, 72.3%, 0%, 53.3%)
CIE-LABlab(19.36, 30.76, -48.30)
CIE-LCHlch(19.36, 57.26, 302.50°)
OKLaboklab(31.78% 0.018 -0.1394)
OKLCHoklch(31.78% 0.141 277.4)
XYZxyz(4.6719, 2.8313, 17.7495)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262177 #727721
analogous
#214777 #262177 #512177
triadic
#262177 #772621 #217726
tetradic
#262177 #772147 #727721 #217751
square
#262177 #772147 #727721 #217751
split-complementary
#262177 #775121 #477721
monochromatic
#080718 #171447 #262177 #352EA7 #4E47CC

Accessibility & contrast

On white

13.41
#262177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#262177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262177
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262177#FFFFFF#000000##FFFFFF
##2621771.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262177;
/* rgb */ color: rgb(38, 33, 119);
/* oklch */ color: oklch(31.8% 0.141 277.4);
Tailwind
colors: {
  custom: {
    50: '#6c5d9f',
    500: '#262177',
    950: '#000000',
  },
}
SCSS
$custom: #262177;
$custom-light: #6c5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#262177",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 243.488,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31782,
    "c": 0.14057,
    "h": 277.4
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#262177
secondary
#A5AA4A
accent
#E048D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #262177

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

Preview Lab → · Contrast checker → · Palette generator →

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