#262276#262276

#262276 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.138 H 277.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#262276
RGBrgb(38, 34, 118)
HSLhsl(243, 55%, 30%)
HSVhsv(243, 71%, 46%)
CMYKcmyk(67.8%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.49, 29.77, -47.44)
CIE-LCHlch(19.49, 56.00, 302.11°)
OKLaboklab(31.85% 0.0174 -0.1369)
OKLCHoklch(31.85% 0.138 277.2)
XYZxyz(4.6403, 2.8637, 17.4442)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262276 #727622
analogous
#224876 #262276 #502276
triadic
#262276 #762622 #227626
tetradic
#262276 #762248 #727622 #227650
square
#262276 #762248 #727622 #227650
split-complementary
#262276 #765022 #487622
monochromatic
#080718 #171446 #262276 #3530A6 #4E48CA

Accessibility & contrast

On white

13.35
#262276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262276
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262276#FFFFFF#000000##FFFFFF
##2622761.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262276;
/* rgb */ color: rgb(38, 34, 118);
/* oklch */ color: oklch(31.8% 0.138 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c5e9e',
    500: '#262276',
    950: '#000000',
  },
}
SCSS
$custom: #262276;
$custom-light: #6c5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#262276",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 242.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.13799,
    "h": 277.2
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#262276
secondary
#A5A94B
accent
#DF49D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #262276

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

Preview Lab → · Contrast checker → · Palette generator →

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