#262E85#262E85

#262E85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.144 H 272.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#262E85
RGBrgb(38, 46, 133)
HSLhsl(235, 56%, 34%)
HSVhsv(235, 71%, 52%)
CMYKcmyk(71.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.87, 27.35, -49.78)
CIE-LCHlch(23.87, 56.79, 298.79°)
OKLaboklab(35.47% 0.0064 -0.1437)
OKLCHoklch(35.47% 0.144 272.6)
XYZxyz(6.0085, 4.0589, 22.6526)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E85 #857D26
analogous
#265D85 #262E85 #4D2685
triadic
#262E85 #85262E #2E8526
tetradic
#262E85 #85265D #857D26 #26854D
square
#262E85 #85265D #857D26 #26854D
split-complementary
#262E85 #854D26 #5D8526
monochromatic
#0B0D26 #181E55 #262E85 #343EB5 #5761CF

Accessibility & contrast

On white

11.59
#262E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E85
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E85#FFFFFF#000000##FFFFFF
##262E851.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262e85;
/* rgb */ color: rgb(38, 46, 133);
/* oklch */ color: oklch(35.5% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#262e85',
    950: '#000000',
  },
}
SCSS
$custom: #262e85;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262e85",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 234.947,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35466,
    "c": 0.14383,
    "h": 272.6
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262E85

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

Preview Lab → · Contrast checker → · Palette generator →

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