#262AA4#262AA4

#262AA4 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.189 H 271.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#262AA4
RGBrgb(38, 42, 164)
HSLhsl(238, 62%, 40%)
HSVhsv(238, 77%, 64%)
CMYKcmyk(76.8%, 74.4%, 0%, 35.7%)
CIE-LABlab(26.00, 41.01, -65.35)
CIE-LCHlch(26.00, 77.16, 302.11°)
OKLaboklab(37.94% 0.0051 -0.1892)
OKLCHoklch(37.94% 0.189 271.6)
XYZxyz(8.3259, 4.7474, 35.5923)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA4 #A4A026
analogous
#2669A4 #262AA4 #6126A4
triadic
#262AA4 #A4262A #2AA426
tetradic
#262AA4 #A42669 #A4A026 #26A461
square
#262AA4 #A42669 #A4A026 #26A461
split-complementary
#262AA4 #A46126 #69A426
monochromatic
#0F1141 #1A1D72 #262AA4 #373CD1 #686CDC

Accessibility & contrast

On white

10.77
#262AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA4
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA4#FFFFFF#000000##FFFFFF
##262AA41.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262aa4;
/* rgb */ color: rgb(38, 42, 164);
/* oklch */ color: oklch(37.9% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7665c0',
    500: '#262aa4',
    950: '#000000',
  },
}
SCSS
$custom: #262aa4;
$custom-light: #7665c0;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa4",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 238.095,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.18926,
    "h": 271.6
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#262AA4
secondary
#C2BF64
accent
#E042E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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