#262BA3#262BA3

#262BA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.187 H 271.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#262BA3
RGBrgb(38, 43, 163)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 77%, 64%)
CMYKcmyk(76.7%, 73.6%, 0%, 36.1%)
CIE-LABlab(26.11, 40.08, -64.57)
CIE-LCHlch(26.11, 76.00, 301.82°)
OKLaboklab(37.98% 0.0048 -0.1869)
OKLCHoklch(37.98% 0.187 271.5)
XYZxyz(8.2718, 4.7833, 35.1305)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA3 #A39E26
analogous
#266AA3 #262BA3 #6026A3
triadic
#262BA3 #A3262B #2BA326
tetradic
#262BA3 #A3266A #A39E26 #26A360
square
#262BA3 #A3266A #A39E26 #26A360
split-complementary
#262BA3 #A36026 #6AA326
monochromatic
#0F1140 #1A1E71 #262BA3 #363CD0 #686CDC

Accessibility & contrast

On white

10.73
#262BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#262BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA3
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA3#FFFFFF#000000##FFFFFF
##262BA31.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ba3;
/* rgb */ color: rgb(38, 43, 163);
/* oklch */ color: oklch(38.0% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#7665bf',
    500: '#262ba3',
    950: '#000000',
  },
}
SCSS
$custom: #262ba3;
$custom-light: #7665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba3",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 237.6,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.18699,
    "h": 271.5
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#262BA3
secondary
#C2BE63
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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