#262AA7#262AA7

#262AA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.193 H 271.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#262AA7
RGBrgb(38, 42, 167)
HSLhsl(238, 63%, 40%)
HSVhsv(238, 77%, 65%)
CMYKcmyk(77.2%, 74.9%, 0%, 34.5%)
CIE-LABlab(26.32, 42.04, -66.64)
CIE-LCHlch(26.32, 78.79, 302.25°)
OKLaboklab(38.26% 0.0046 -0.1929)
OKLCHoklch(38.26% 0.193 271.4)
XYZxyz(8.6000, 4.8571, 37.0360)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA7 #A7A326
analogous
#266AA7 #262AA7 #6326A7
triadic
#262AA7 #A7262A #2AA726
tetradic
#262AA7 #A7266A #A7A326 #26A763
square
#262AA7 #A7266A #A7A326 #26A763
split-complementary
#262AA7 #A76326 #6AA726
monochromatic
#0F1143 #1B1D75 #262AA7 #383DD2 #6A6EDD

Accessibility & contrast

On white

10.65
#262AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA7
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA7#FFFFFF#000000##FFFFFF
##262AA71.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262aa7;
/* rgb */ color: rgb(38, 42, 167);
/* oklch */ color: oklch(38.3% 0.193 271.4);
Tailwind
colors: {
  custom: {
    50: '#7765c2',
    500: '#262aa7',
    950: '#000000',
  },
}
SCSS
$custom: #262aa7;
$custom-light: #7765c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa7",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 238.14,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.19299,
    "h": 271.4
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#262AA7
secondary
#C3C065
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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