#262E80#262E80

#262E80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.137 H 272.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#262E80
RGBrgb(38, 46, 128)
HSLhsl(235, 54%, 33%)
HSVhsv(235, 70%, 50%)
CMYKcmyk(70.3%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.42, 25.47, -47.36)
CIE-LCHlch(23.42, 53.78, 298.27°)
OKLaboklab(35% 0.0067 -0.1366)
OKLCHoklch(35% 0.137 272.8)
XYZxyz(5.6713, 3.9240, 20.8764)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E80 #807826
analogous
#265B80 #262E80 #4B2680
triadic
#262E80 #80262E #2E8026
tetradic
#262E80 #80265B #807826 #26804B
square
#262E80 #80265B #807826 #26804B
split-complementary
#262E80 #804B26 #5B8026
monochromatic
#0A0C22 #181D51 #262E80 #343FAF #545FCC

Accessibility & contrast

On white

11.76
#262E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E80
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E80#FFFFFF#000000##FFFFFF
##262E801.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262e80;
/* rgb */ color: rgb(38, 46, 128);
/* oklch */ color: oklch(35.0% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d66a6',
    500: '#262e80',
    950: '#000000',
  },
}
SCSS
$custom: #262e80;
$custom-light: #6d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262e80",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 234.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34999,
    "c": 0.13678,
    "h": 272.8
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#262E80
secondary
#B1A851
accent
#D04ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #262E80

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

Preview Lab → · Contrast checker → · Palette generator →

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