#262C52#262C52

#262C52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.069 H 274.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#262C52
RGBrgb(38, 44, 82)
HSLhsl(232, 37%, 24%)
HSVhsv(232, 54%, 32%)
CMYKcmyk(53.7%, 46.3%, 0%, 67.8%)
CIE-LABlab(19.32, 9.60, -24.10)
CIE-LCHlch(19.32, 25.94, 291.71°)
OKLaboklab(30.81% 0.0058 -0.0683)
OKLCHoklch(30.81% 0.069 274.9)
XYZxyz(3.2225, 2.8224, 8.3560)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C52 #524C26
analogous
#264252 #262C52 #362652
triadic
#262C52 #52262C #2C5226
tetradic
#262C52 #522642 #524C26 #265236
square
#262C52 #522642 #524C26 #265236
split-complementary
#262C52 #523626 #425226
monochromatic
#0A0B15 #131628 #262C52 #39427C #4D59A6

Accessibility & contrast

On white

13.42
#262C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#262C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C52
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C52#FFFFFF#000000##FFFFFF
##262C521.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3153
Deuteranopia (green-blind)
#192D51
Tritanopia (blue-blind)
#15343B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262c52;
/* rgb */ color: rgb(38, 44, 82);
/* oklch */ color: oklch(30.8% 0.069 274.9);
Tailwind
colors: {
  custom: {
    50: '#646483',
    500: '#262c52',
    950: '#000000',
  },
}
SCSS
$custom: #262c52;
$custom-light: #646483;
$custom-dark: #000000;
JSON
{
  "hex": "#262c52",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 231.818,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.06852,
    "h": 274.9
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#262C52
secondary
#857E4F
accent
#BD5BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262C52

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

Preview Lab → · Contrast checker → · Palette generator →

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