#262AA3#262AA3

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

Color values

HEX#262AA3
RGBrgb(38, 42, 163)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 77%, 64%)
CMYKcmyk(76.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(25.90, 40.67, -64.92)
CIE-LCHlch(25.90, 76.61, 302.06°)
OKLaboklab(37.83% 0.0053 -0.1879)
OKLCHoklch(37.83% 0.188 271.6)
XYZxyz(8.2359, 4.7115, 35.1186)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA3 #A39F26
analogous
#2669A3 #262AA3 #6126A3
triadic
#262AA3 #A3262A #2AA326
tetradic
#262AA3 #A32669 #A39F26 #26A361
square
#262AA3 #A32669 #A39F26 #26A361
split-complementary
#262AA3 #A36126 #69A326
monochromatic
#0F1040 #1A1D71 #262AA3 #363BD0 #686BDC

Accessibility & contrast

On white

10.81
#262AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA3
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA3#FFFFFF#000000##FFFFFF
##262AA31.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262aa3;
/* rgb */ color: rgb(38, 42, 163);
/* oklch */ color: oklch(37.8% 0.188 271.6);
Tailwind
colors: {
  custom: {
    50: '#7665bf',
    500: '#262aa3',
    950: '#000000',
  },
}
SCSS
$custom: #262aa3;
$custom-light: #7665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa3",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 238.08,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3783,
    "c": 0.18801,
    "h": 271.6
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#262AA3
secondary
#C2BF63
accent
#E043E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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