#262C88#262C88

#262C88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.150 H 272.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#262C88
RGBrgb(38, 44, 136)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 72%, 53%)
CMYKcmyk(72.1%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.64, 29.79, -52.02)
CIE-LCHlch(23.64, 59.95, 299.80°)
OKLaboklab(35.39% 0.0077 -0.1503)
OKLCHoklch(35.39% 0.15 272.9)
XYZxyz(6.1425, 3.9904, 23.7343)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C88 #888226
analogous
#265D88 #262C88 #512688
triadic
#262C88 #88262C #2C8826
tetradic
#262C88 #88265D #888226 #268851
square
#262C88 #88265D #888226 #268851
split-complementary
#262C88 #885126 #5D8826
monochromatic
#0B0D28 #191D58 #262C88 #333BB8 #585FD0

Accessibility & contrast

On white

11.68
#262C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C88
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C88#FFFFFF#000000##FFFFFF
##262C881.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262c88;
/* rgb */ color: rgb(38, 44, 136);
/* oklch */ color: oklch(35.4% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f65ac',
    500: '#262c88',
    950: '#000000',
  },
}
SCSS
$custom: #262c88;
$custom-light: #6f65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262c88",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 236.327,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.15049,
    "h": 272.9
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#262C88
secondary
#B5AF55
accent
#D648E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C88

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

Preview Lab → · Contrast checker → · Palette generator →

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