#262E89#262E89

#262E89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 272.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#262E89
RGBrgb(38, 46, 137)
HSLhsl(235, 57%, 34%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(72.3%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.23, 28.84, -51.68)
CIE-LCHlch(24.23, 59.18, 299.16°)
OKLaboklab(35.85% 0.0062 -0.1493)
OKLCHoklch(35.85% 0.149 272.4)
XYZxyz(6.2902, 4.1716, 24.1358)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E89 #898126
analogous
#265F89 #262E89 #502689
triadic
#262E89 #89262E #2E8926
tetradic
#262E89 #89265F #898126 #268950
square
#262E89 #89265F #898126 #268950
split-complementary
#262E89 #895026 #5F8926
monochromatic
#0B0E29 #191E59 #262E89 #333EB9 #5962D1

Accessibility & contrast

On white

11.45
#262E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E89
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E89#FFFFFF#000000##FFFFFF
##262E891.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262e89;
/* rgb */ color: rgb(38, 46, 137);
/* oklch */ color: oklch(35.8% 0.149 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#262e89',
    950: '#000000',
  },
}
SCSS
$custom: #262e89;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262e89",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 235.152,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.1494,
    "h": 272.4
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#262E89
secondary
#B6AE55
accent
#D448E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E89

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

Preview Lab → · Contrast checker → · Palette generator →

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