#262DA6#262DA6

#262DA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 271.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#262DA6
RGBrgb(38, 45, 166)
HSLhsl(237, 63%, 40%)
HSVhsv(237, 77%, 65%)
CMYKcmyk(77.1%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.85, 39.92, -65.16)
CIE-LCHlch(26.85, 76.42, 301.49°)
OKLaboklab(38.61% 0.0035 -0.1887)
OKLCHoklch(38.61% 0.189 271.1)
XYZxyz(8.6183, 5.0411, 36.5878)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DA6 #A69F26
analogous
#266DA6 #262DA6 #5F26A6
triadic
#262DA6 #A6262D #2DA626
tetradic
#262DA6 #A6266D #A69F26 #26A65F
square
#262DA6 #A6266D #A69F26 #26A65F
split-complementary
#262DA6 #A65F26 #6DA626
monochromatic
#0F1242 #1B1F74 #262DA6 #3840D1 #6A70DD

Accessibility & contrast

On white

10.46
#262DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#262DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DA6
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DA6#FFFFFF#000000##FFFFFF
##262DA61.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262da6;
/* rgb */ color: rgb(38, 45, 166);
/* oklch */ color: oklch(38.6% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#7667c2',
    500: '#262da6',
    950: '#000000',
  },
}
SCSS
$custom: #262da6;
$custom-light: #7667c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262da6",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 236.719,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.18869,
    "h": 271.1
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#262DA6
secondary
#C3BE65
accent
#DD42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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