#262EA0#262EA0

#262EA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.180 H 271.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#262EA0
RGBrgb(38, 46, 160)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(76.3%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.46, 37.20, -62.18)
CIE-LCHlch(26.46, 72.46, 300.89°)
OKLaboklab(38.14% 0.0038 -0.18)
OKLCHoklch(38.14% 0.18 271.2)
XYZxyz(8.1193, 4.9033, 33.7694)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA0 #A09826
analogous
#266BA0 #262EA0 #5B26A0
triadic
#262EA0 #A0262E #2EA026
tetradic
#262EA0 #A0266B #A09826 #26A05B
square
#262EA0 #A0266B #A09826 #26A05B
split-complementary
#262EA0 #A05B26 #6BA026
monochromatic
#0F123D #1A206F #262EA0 #343ECF #666DDB

Accessibility & contrast

On white

10.60
#262EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#262EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EA0
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA0#FFFFFF#000000##FFFFFF
##262EA01.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262ea0;
/* rgb */ color: rgb(38, 46, 160);
/* oklch */ color: oklch(38.1% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#262ea0',
    950: '#000000',
  },
}
SCSS
$custom: #262ea0;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea0",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 236.066,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.18,
    "h": 271.2
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#262EA0
secondary
#C0BA61
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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