#262E7E#262E7E

#262E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.134 H 272.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#262E7E
RGBrgb(38, 46, 126)
HSLhsl(235, 54%, 32%)
HSVhsv(235, 70%, 49%)
CMYKcmyk(69.8%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.24, 24.72, -46.39)
CIE-LCHlch(23.24, 52.56, 298.06°)
OKLaboklab(34.82% 0.0068 -0.1337)
OKLCHoklch(34.82% 0.134 272.9)
XYZxyz(5.5410, 3.8719, 20.1900)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7E #7E7626
analogous
#265A7E #262E7E #4A267E
triadic
#262E7E #7E262E #2E7E26
tetradic
#262E7E #7E265A #7E7626 #267E4A
square
#262E7E #7E265A #7E7626 #267E4A
split-complementary
#262E7E #7E4A26 #5A7E26
monochromatic
#0A0C20 #181D4F #262E7E #343FAD #535ECB

Accessibility & contrast

On white

11.83
#262E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E7E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E7E#FFFFFF#000000##FFFFFF
##262E7E1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262e7e;
/* rgb */ color: rgb(38, 46, 126);
/* oklch */ color: oklch(34.8% 0.134 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c66a4',
    500: '#262e7e',
    950: '#000000',
  },
}
SCSS
$custom: #262e7e;
$custom-light: #6c66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7e",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 234.545,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.13392,
    "h": 272.9
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#262E7E
secondary
#B0A750
accent
#D04BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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