#262E93#262E93

#262E93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.163 H 271.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#262E93
RGBrgb(38, 46, 147)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(74.1%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.17, 32.52, -56.33)
CIE-LCHlch(25.17, 65.04, 300.00°)
OKLaboklab(36.82% 0.0053 -0.1629)
OKLCHoklch(36.82% 0.163 271.9)
XYZxyz(7.0410, 4.4719, 28.0902)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E93 #938B26
analogous
#266593 #262E93 #552693
triadic
#262E93 #93262E #2E9326
tetradic
#262E93 #932665 #938B26 #269355
square
#262E93 #932665 #938B26 #269355
split-complementary
#262E93 #935526 #659326
monochromatic
#0D1032 #191F62 #262E93 #333DC4 #5E67D5

Accessibility & contrast

On white

11.08
#262E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E93
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E93#FFFFFF#000000##FFFFFF
##262E931.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262e93;
/* rgb */ color: rgb(38, 46, 147);
/* oklch */ color: oklch(36.8% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#7267b4',
    500: '#262e93',
    950: '#000000',
  },
}
SCSS
$custom: #262e93;
$custom-light: #7267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262e93",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 235.596,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.16297,
    "h": 271.9
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#262E93
secondary
#BAB35A
accent
#D746E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E93

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

Preview Lab → · Contrast checker → · Palette generator →

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