#262E81#262E81

#262E81 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.138 H 272.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#262E81
RGBrgb(38, 46, 129)
HSLhsl(235, 54%, 33%)
HSVhsv(235, 71%, 51%)
CMYKcmyk(70.5%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.51, 25.85, -47.85)
CIE-LCHlch(23.51, 54.38, 298.38°)
OKLaboklab(35.09% 0.0066 -0.138)
OKLCHoklch(35.09% 0.138 272.8)
XYZxyz(5.7374, 3.9505, 21.2248)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E81 #817926
analogous
#265C81 #262E81 #4B2681
triadic
#262E81 #81262E #2E8126
tetradic
#262E81 #81265C #817926 #26814B
square
#262E81 #81265C #817926 #26814B
split-complementary
#262E81 #814B26 #5C8126
monochromatic
#0A0C22 #181D52 #262E81 #343FB0 #555FCD

Accessibility & contrast

On white

11.73
#262E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E81
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E81#FFFFFF#000000##FFFFFF
##262E811.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262e81;
/* rgb */ color: rgb(38, 46, 129);
/* oklch */ color: oklch(35.1% 0.138 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d66a6',
    500: '#262e81',
    950: '#000000',
  },
}
SCSS
$custom: #262e81;
$custom-light: #6d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262e81",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 234.725,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35092,
    "c": 0.1382,
    "h": 272.8
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262E81

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

Preview Lab → · Contrast checker → · Palette generator →

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