#262AA1#262AA1

#262AA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.186 H 271.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#262AA1
RGBrgb(38, 42, 161)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(76.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(25.68, 39.98, -64.06)
CIE-LCHlch(25.68, 75.51, 301.97°)
OKLaboklab(37.62% 0.0056 -0.1854)
OKLCHoklch(37.62% 0.186 271.7)
XYZxyz(8.0581, 4.6403, 34.1823)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA1 #A19D26
analogous
#2668A1 #262AA1 #6026A1
triadic
#262AA1 #A1262A #2AA126
tetradic
#262AA1 #A12668 #A19D26 #26A160
square
#262AA1 #A12668 #A19D26 #26A160
split-complementary
#262AA1 #A16026 #68A126
monochromatic
#0F103E #1A1D6F #262AA1 #353ACF #666ADB

Accessibility & contrast

On white

10.89
#262AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#262AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA1
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA1#FFFFFF#000000##FFFFFF
##262AA11.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262aa1;
/* rgb */ color: rgb(38, 42, 161);
/* oklch */ color: oklch(37.6% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#7565be',
    500: '#262aa1',
    950: '#000000',
  },
}
SCSS
$custom: #262aa1;
$custom-light: #7565be;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa1",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 238.049,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.18552,
    "h": 271.7
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#262AA1
secondary
#C1BE62
accent
#E043E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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