#262EA3#262EA3

#262EA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.184 H 271.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#262EA3
RGBrgb(38, 46, 163)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 77%, 64%)
CMYKcmyk(76.7%, 71.8%, 0%, 36.1%)
CIE-LABlab(26.76, 38.26, -63.50)
CIE-LCHlch(26.76, 74.13, 301.07°)
OKLaboklab(38.45% 0.0034 -0.1838)
OKLCHoklch(38.45% 0.184 271.1)
XYZxyz(8.3849, 5.0095, 35.1683)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA3 #A39B26
analogous
#266DA3 #262EA3 #5D26A3
triadic
#262EA3 #A3262E #2EA326
tetradic
#262EA3 #A3266D #A39B26 #26A35D
square
#262EA3 #A3266D #A39B26 #26A35D
split-complementary
#262EA3 #A35D26 #6DA326
monochromatic
#0F1240 #1A2071 #262EA3 #3640D0 #686FDC

Accessibility & contrast

On white

10.49
#262EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#262EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EA3
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA3#FFFFFF#000000##FFFFFF
##262EA31.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ea3;
/* rgb */ color: rgb(38, 46, 163);
/* oklch */ color: oklch(38.4% 0.184 271.1);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#262ea3',
    950: '#000000',
  },
}
SCSS
$custom: #262ea3;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea3",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 236.16,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.18383,
    "h": 271.1
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#262EA3
secondary
#C2BC63
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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