#262C54#262C54

#262C54 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.072 H 275.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#262C54
RGBrgb(38, 44, 84)
HSLhsl(232, 38%, 24%)
HSVhsv(232, 55%, 33%)
CMYKcmyk(54.8%, 47.6%, 0%, 67.1%)
CIE-LABlab(19.45, 10.32, -25.23)
CIE-LCHlch(19.45, 27.26, 292.25°)
OKLaboklab(30.95% 0.0062 -0.0716)
OKLCHoklch(30.95% 0.072 275)
XYZxyz(3.2997, 2.8533, 8.7627)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C54 #544E26
analogous
#264354 #262C54 #372654
triadic
#262C54 #54262C #2C5426
tetradic
#262C54 #542643 #544E26 #265437
square
#262C54 #542643 #544E26 #265437
split-complementary
#262C54 #543726 #435426
monochromatic
#0A0B15 #13162A #262C54 #39427E #4C58A8

Accessibility & contrast

On white

13.37
#262C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#262C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C54
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C54#FFFFFF#000000##FFFFFF
##262C541.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3156
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#13353B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262c54;
/* rgb */ color: rgb(38, 44, 84);
/* oklch */ color: oklch(30.9% 0.072 275.0);
Tailwind
colors: {
  custom: {
    50: '#646484',
    500: '#262c54',
    950: '#000000',
  },
}
SCSS
$custom: #262c54;
$custom-light: #646484;
$custom-dark: #000000;
JSON
{
  "hex": "#262c54",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 232.174,
    "s": 37.705,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.07187,
    "h": 275
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#262C54
secondary
#87804F
accent
#BF5ACE
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262C54

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

Preview Lab → · Contrast checker → · Palette generator →

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