#262E82#262E82

#262E82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.140 H 272.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#262E82
RGBrgb(38, 46, 130)
HSLhsl(235, 55%, 33%)
HSVhsv(235, 71%, 51%)
CMYKcmyk(70.8%, 64.6%, 0%, 49%)
CIE-LABlab(23.60, 26.22, -48.33)
CIE-LCHlch(23.60, 54.99, 298.48°)
OKLaboklab(35.19% 0.0066 -0.1395)
OKLCHoklch(35.19% 0.14 272.7)
XYZxyz(5.8042, 3.9772, 21.5766)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E82 #827A26
analogous
#265C82 #262E82 #4C2682
triadic
#262E82 #82262E #2E8226
tetradic
#262E82 #82265C #827A26 #26824C
square
#262E82 #82265C #827A26 #26824C
split-complementary
#262E82 #824C26 #5C8226
monochromatic
#0A0C23 #181D53 #262E82 #343FB1 #5560CD

Accessibility & contrast

On white

11.70
#262E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E82
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E82#FFFFFF#000000##FFFFFF
##262E821.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262e82;
/* rgb */ color: rgb(38, 46, 130);
/* oklch */ color: oklch(35.2% 0.140 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d66a7',
    500: '#262e82',
    950: '#000000',
  },
}
SCSS
$custom: #262e82;
$custom-light: #6d66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#262e82",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 234.783,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.13962,
    "h": 272.7
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#262E82
secondary
#B2AA52
accent
#D14ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #262E82

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

Preview Lab → · Contrast checker → · Palette generator →

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