#262E87#262E87

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

Color values

HEX#262E87
RGBrgb(38, 46, 135)
HSLhsl(235, 56%, 34%)
HSVhsv(235, 72%, 53%)
CMYKcmyk(71.9%, 65.9%, 0%, 47.1%)
CIE-LABlab(24.05, 28.09, -50.73)
CIE-LCHlch(24.05, 57.99, 298.98°)
OKLaboklab(35.66% 0.0063 -0.1465)
OKLCHoklch(35.66% 0.147 272.5)
XYZxyz(6.1480, 4.1147, 23.3872)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E87 #877F26
analogous
#265F87 #262E87 #4F2687
triadic
#262E87 #87262E #2E8726
tetradic
#262E87 #87265F #877F26 #26874F
square
#262E87 #87265F #877F26 #26874F
split-complementary
#262E87 #874F26 #5F8726
monochromatic
#0B0D27 #191E57 #262E87 #333EB7 #5861D0

Accessibility & contrast

On white

11.52
#262E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E87
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E87#FFFFFF#000000##FFFFFF
##262E871.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262e87;
/* rgb */ color: rgb(38, 46, 135);
/* oklch */ color: oklch(35.7% 0.147 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f67ab',
    500: '#262e87',
    950: '#000000',
  },
}
SCSS
$custom: #262e87;
$custom-light: #6f67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#262e87",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 235.052,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.14663,
    "h": 272.5
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#262E87
secondary
#B5AD54
accent
#D348DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E87

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

Preview Lab → · Contrast checker → · Palette generator →

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