#262BA2#262BA2

#262BA2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.186 H 271.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#262BA2
RGBrgb(38, 43, 162)
HSLhsl(238, 62%, 39%)
HSVhsv(238, 77%, 64%)
CMYKcmyk(76.5%, 73.5%, 0%, 36.5%)
CIE-LABlab(26.00, 39.73, -64.14)
CIE-LCHlch(26.00, 75.45, 301.77°)
OKLaboklab(37.88% 0.005 -0.1857)
OKLCHoklch(37.88% 0.186 271.5)
XYZxyz(8.1826, 4.7476, 34.6605)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262BA2 #A29D26
analogous
#2669A2 #262BA2 #5F26A2
triadic
#262BA2 #A2262B #2BA226
tetradic
#262BA2 #A22669 #A29D26 #26A25F
square
#262BA2 #A22669 #A29D26 #26A25F
split-complementary
#262BA2 #A25F26 #69A226
monochromatic
#0F113F #1A1E70 #262BA2 #353CD0 #676CDB

Accessibility & contrast

On white

10.77
#262BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262BA2
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262BA2#FFFFFF#000000##FFFFFF
##262BA21.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262ba2;
/* rgb */ color: rgb(38, 43, 162);
/* oklch */ color: oklch(37.9% 0.186 271.5);
Tailwind
colors: {
  custom: {
    50: '#7665bf',
    500: '#262ba2',
    950: '#000000',
  },
}
SCSS
$custom: #262ba2;
$custom-light: #7665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#262ba2",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 237.581,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.18574,
    "h": 271.5
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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