#262E86#262E86

#262E86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.145 H 272.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#262E86
RGBrgb(38, 46, 134)
HSLhsl(235, 56%, 34%)
HSVhsv(235, 72%, 53%)
CMYKcmyk(71.6%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.96, 27.72, -50.25)
CIE-LCHlch(23.96, 57.39, 298.88°)
OKLaboklab(35.56% 0.0064 -0.1451)
OKLCHoklch(35.56% 0.145 272.5)
XYZxyz(6.0780, 4.0867, 23.0181)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E86 #867E26
analogous
#265E86 #262E86 #4E2686
triadic
#262E86 #86262E #2E8626
tetradic
#262E86 #86265E #867E26 #26864E
square
#262E86 #86265E #867E26 #26864E
split-complementary
#262E86 #864E26 #5E8626
monochromatic
#0B0D27 #181E56 #262E86 #343EB6 #5761CF

Accessibility & contrast

On white

11.55
#262E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E86
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E86#FFFFFF#000000##FFFFFF
##262E861.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262e86;
/* rgb */ color: rgb(38, 46, 134);
/* oklch */ color: oklch(35.6% 0.145 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e66aa',
    500: '#262e86',
    950: '#000000',
  },
}
SCSS
$custom: #262e86;
$custom-light: #6e66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262e86",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 235,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35561,
    "c": 0.14523,
    "h": 272.5
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#262E86
secondary
#B4AC54
accent
#D349DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E86

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

Preview Lab → · Contrast checker → · Palette generator →

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