#262C82#262C82

#262C82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.142 H 273.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#262C82
RGBrgb(38, 44, 130)
HSLhsl(236, 55%, 33%)
HSVhsv(236, 71%, 51%)
CMYKcmyk(70.8%, 66.2%, 0%, 49%)
CIE-LABlab(23.08, 27.57, -49.17)
CIE-LCHlch(23.08, 56.37, 299.28°)
OKLaboklab(34.81% 0.0082 -0.1419)
OKLCHoklch(34.81% 0.142 273.3)
XYZxyz(5.7279, 3.8246, 21.5511)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C82 #827C26
analogous
#265A82 #262C82 #4E2682
triadic
#262C82 #82262C #2C8226
tetradic
#262C82 #82265A #827C26 #26824E
square
#262C82 #82265A #827C26 #26824E
split-complementary
#262C82 #824E26 #5A8226
monochromatic
#0A0C23 #181C53 #262C82 #343CB1 #555DCD

Accessibility & contrast

On white

11.90
#262C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C82
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C82#FFFFFF#000000##FFFFFF
##262C821.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262c82;
/* rgb */ color: rgb(38, 44, 130);
/* oklch */ color: oklch(34.8% 0.142 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e65a7',
    500: '#262c82',
    950: '#000000',
  },
}
SCSS
$custom: #262c82;
$custom-light: #6e65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#262c82",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 236.087,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.14218,
    "h": 273.3
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#262C82
secondary
#B2AC52
accent
#D44ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C82

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

Preview Lab → · Contrast checker → · Palette generator →

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