#262E99#262E99

#262E99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.171 H 271.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#262E99
RGBrgb(38, 46, 153)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(75.2%, 69.9%, 0%, 40%)
CIE-LABlab(25.76, 34.69, -59.06)
CIE-LCHlch(25.76, 68.49, 300.43°)
OKLaboklab(37.42% 0.0046 -0.1708)
OKLCHoklch(37.42% 0.171 271.6)
XYZxyz(7.5241, 4.6652, 30.6347)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E99 #999126
analogous
#266899 #262E99 #572699
triadic
#262E99 #99262E #2E9926
tetradic
#262E99 #992668 #999126 #269957
square
#262E99 #992668 #999126 #269957
split-complementary
#262E99 #995726 #689926
monochromatic
#0E1137 #1A1F68 #262E99 #323DCA #626AD8

Accessibility & contrast

On white

10.86
#262E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#262E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E99
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E99#FFFFFF#000000##FFFFFF
##262E991.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262e99;
/* rgb */ color: rgb(38, 46, 153);
/* oklch */ color: oklch(37.4% 0.171 271.6);
Tailwind
colors: {
  custom: {
    50: '#7367b8',
    500: '#262e99',
    950: '#000000',
  },
}
SCSS
$custom: #262e99;
$custom-light: #7367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262e99",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 235.826,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.17091,
    "h": 271.6
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#262E99
secondary
#BDB75E
accent
#D844E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E99

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

Preview Lab → · Contrast checker → · Palette generator →

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