#262C84#262C84

#262C84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.145 H 273.2°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#262C84
RGBrgb(38, 44, 132)
HSLhsl(236, 55%, 33%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(71.2%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.27, 28.31, -50.13)
CIE-LCHlch(23.27, 57.57, 299.46°)
OKLaboklab(35% 0.008 -0.1447)
OKLCHoklch(35% 0.145 273.2)
XYZxyz(5.8635, 3.8788, 22.2650)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C84 #847E26
analogous
#265B84 #262C84 #4F2684
triadic
#262C84 #84262C #2C8426
tetradic
#262C84 #84265B #847E26 #26844F
square
#262C84 #84265B #847E26 #26844F
split-complementary
#262C84 #844F26 #5B8426
monochromatic
#0B0C25 #181C54 #262C84 #343CB4 #565ECE

Accessibility & contrast

On white

11.83
#262C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C84
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C84#FFFFFF#000000##FFFFFF
##262C841.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262c84;
/* rgb */ color: rgb(38, 44, 132);
/* oklch */ color: oklch(35.0% 0.145 273.2);
Tailwind
colors: {
  custom: {
    50: '#6e65a9',
    500: '#262c84',
    950: '#000000',
  },
}
SCSS
$custom: #262c84;
$custom-light: #6e65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262c84",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 236.17,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35,
    "c": 0.14496,
    "h": 273.2
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#262C84
secondary
#B3AD53
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C84

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

Preview Lab → · Contrast checker → · Palette generator →

#262C84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva