#262AA0#262AA0

#262AA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 271.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#262AA0
RGBrgb(38, 42, 160)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(76.3%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.58, 39.63, -63.62)
CIE-LCHlch(25.58, 74.96, 301.92°)
OKLaboklab(37.51% 0.0058 -0.1842)
OKLCHoklch(37.51% 0.184 271.8)
XYZxyz(7.9703, 4.6052, 33.7197)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA0 #A09C26
analogous
#2667A0 #262AA0 #5F26A0
triadic
#262AA0 #A0262A #2AA026
tetradic
#262AA0 #A02667 #A09C26 #26A05F
square
#262AA0 #A02667 #A09C26 #26A05F
split-complementary
#262AA0 #A05F26 #67A026
monochromatic
#0F103D #1A1D6F #262AA0 #3439CF #666ADB

Accessibility & contrast

On white

10.93
#262AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA0
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA0#FFFFFF#000000##FFFFFF
##262AA01.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262aa0;
/* rgb */ color: rgb(38, 42, 160);
/* oklch */ color: oklch(37.5% 0.184 271.8);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#262aa0',
    950: '#000000',
  },
}
SCSS
$custom: #262aa0;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa0",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 238.033,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.18425,
    "h": 271.8
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#262AA0
secondary
#C0BD61
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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