#262EA6#262EA6

#262EA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.188 H 270.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#262EA6
RGBrgb(38, 46, 166)
HSLhsl(236, 63%, 40%)
HSVhsv(236, 77%, 65%)
CMYKcmyk(77.1%, 72.3%, 0%, 34.9%)
CIE-LABlab(27.07, 39.32, -64.80)
CIE-LCHlch(27.07, 75.80, 301.25°)
OKLaboklab(38.76% 0.003 -0.1876)
OKLCHoklch(38.76% 0.188 270.9)
XYZxyz(8.6569, 5.1183, 36.6007)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA6 #A69E26
analogous
#266EA6 #262EA6 #5E26A6
triadic
#262EA6 #A6262E #2EA626
tetradic
#262EA6 #A6266E #A69E26 #26A65E
square
#262EA6 #A6266E #A69E26 #26A65E
split-complementary
#262EA6 #A65E26 #6EA626
monochromatic
#0F1242 #1B2074 #262EA6 #3841D1 #6A71DD

Accessibility & contrast

On white

10.38
#262EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#262EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EA6
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA6#FFFFFF#000000##FFFFFF
##262EA61.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262ea6;
/* rgb */ color: rgb(38, 46, 166);
/* oklch */ color: oklch(38.8% 0.188 270.9);
Tailwind
colors: {
  custom: {
    50: '#7668c2',
    500: '#262ea6',
    950: '#000000',
  },
}
SCSS
$custom: #262ea6;
$custom-light: #7668c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea6",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 236.25,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.18763,
    "h": 270.9
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#262EA6
secondary
#C3BD65
accent
#DC42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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