#262E84#262E84

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

Color values

HEX#262E84
RGBrgb(38, 46, 132)
HSLhsl(235, 55%, 33%)
HSVhsv(235, 71%, 52%)
CMYKcmyk(71.2%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.77, 26.97, -49.30)
CIE-LCHlch(23.77, 56.19, 298.69°)
OKLaboklab(35.37% 0.0065 -0.1423)
OKLCHoklch(35.37% 0.142 272.6)
XYZxyz(5.9398, 4.0314, 22.2904)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E84 #847C26
analogous
#265D84 #262E84 #4D2684
triadic
#262E84 #84262E #2E8426
tetradic
#262E84 #84265D #847C26 #26844D
square
#262E84 #84265D #847C26 #26844D
split-complementary
#262E84 #844D26 #5D8426
monochromatic
#0B0D25 #181D54 #262E84 #343FB4 #5660CE

Accessibility & contrast

On white

11.63
#262E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E84
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E84#FFFFFF#000000##FFFFFF
##262E841.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262e84;
/* rgb */ color: rgb(38, 46, 132);
/* oklch */ color: oklch(35.4% 0.142 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#262e84',
    950: '#000000',
  },
}
SCSS
$custom: #262e84;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262e84",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 234.894,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35372,
    "c": 0.14244,
    "h": 272.6
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#262E84
secondary
#B3AB53
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E84

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

Preview Lab → · Contrast checker → · Palette generator →

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