#262EA5#262EA5

#262EA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.186 H 271.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#262EA5
RGBrgb(38, 46, 165)
HSLhsl(236, 63%, 40%)
HSVhsv(236, 77%, 65%)
CMYKcmyk(77%, 72.1%, 0%, 35.3%)
CIE-LABlab(26.97, 38.97, -64.37)
CIE-LCHlch(26.97, 75.25, 301.19°)
OKLaboklab(38.66% 0.0031 -0.1863)
OKLCHoklch(38.66% 0.186 271)
XYZxyz(8.5655, 5.0817, 36.1195)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EA5 #A59D26
analogous
#266EA5 #262EA5 #5D26A5
triadic
#262EA5 #A5262E #2EA526
tetradic
#262EA5 #A5266E #A59D26 #26A55D
square
#262EA5 #A5266E #A59D26 #26A55D
split-complementary
#262EA5 #A55D26 #6EA526
monochromatic
#0F1242 #1B2073 #262EA5 #3741D1 #6970DC

Accessibility & contrast

On white

10.41
#262EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262EA5
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EA5#FFFFFF#000000##FFFFFF
##262EA51.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262ea5;
/* rgb */ color: rgb(38, 46, 165);
/* oklch */ color: oklch(38.7% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#7667c1',
    500: '#262ea5',
    950: '#000000',
  },
}
SCSS
$custom: #262ea5;
$custom-light: #7667c1;
$custom-dark: #000000;
JSON
{
  "hex": "#262ea5",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 236.22,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38658,
    "c": 0.18638,
    "h": 271
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#262EA5
secondary
#C3BD64
accent
#DB42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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