#262C76#262C76

#262C76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.125 H 274.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#262C76
RGBrgb(38, 44, 118)
HSLhsl(236, 51%, 31%)
HSVhsv(236, 68%, 46%)
CMYKcmyk(67.8%, 62.7%, 0%, 53.7%)
CIE-LABlab(22.02, 23.08, -43.30)
CIE-LCHlch(22.02, 49.07, 298.06°)
OKLaboklab(33.7% 0.0088 -0.1247)
OKLCHoklch(33.7% 0.125 274)
XYZxyz(4.9689, 3.5210, 17.5538)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C76 #767026
analogous
#265476 #262C76 #482676
triadic
#262C76 #76262C #2C7626
tetradic
#262C76 #762654 #767026 #267648
square
#262C76 #762654 #767026 #267648
split-complementary
#262C76 #764826 #547626
monochromatic
#080919 #171B48 #262C76 #353DA4 #5059C7

Accessibility & contrast

On white

12.32
#262C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C76
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C76#FFFFFF#000000##FFFFFF
##262C761.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262c76;
/* rgb */ color: rgb(38, 44, 118);
/* oklch */ color: oklch(33.7% 0.125 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b659e',
    500: '#262c76',
    950: '#000000',
  },
}
SCSS
$custom: #262c76;
$custom-light: #6b659e;
$custom-dark: #000000;
JSON
{
  "hex": "#262c76",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 235.5,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33696,
    "c": 0.12501,
    "h": 274
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#262C76
secondary
#A8A24F
accent
#D04DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262C76

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

Preview Lab → · Contrast checker → · Palette generator →

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