#262DAC#262DAC

#262DAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.196 H 270.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#262DAC
RGBrgb(38, 45, 172)
HSLhsl(237, 64%, 41%)
HSVhsv(237, 78%, 67%)
CMYKcmyk(77.9%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.48, 42.00, -67.74)
CIE-LCHlch(27.48, 79.70, 301.80°)
OKLaboklab(39.24% 0.0026 -0.1961)
OKLCHoklch(39.24% 0.196 270.8)
XYZxyz(9.1816, 5.2664, 39.5543)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DAC #ACA526
analogous
#2670AC #262DAC #6226AC
triadic
#262DAC #AC262D #2DAC26
tetradic
#262DAC #AC2670 #ACA526 #26AC62
square
#262DAC #AC2670 #ACA526 #26AC62
split-complementary
#262DAC #AC6226 #70AC26
monochromatic
#101348 #1B207A #262DAC #3B43D4 #6E73DF

Accessibility & contrast

On white

10.23
#262DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#262DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DAC
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DAC#FFFFFF#000000##FFFFFF
##262DAC1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #262dac;
/* rgb */ color: rgb(38, 45, 172);
/* oklch */ color: oklch(39.2% 0.196 270.8);
Tailwind
colors: {
  custom: {
    50: '#7867c6',
    500: '#262dac',
    950: '#000000',
  },
}
SCSS
$custom: #262dac;
$custom-light: #7867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#262dac",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 236.866,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39243,
    "c": 0.19617,
    "h": 270.8
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#262DAC
secondary
#C5C168
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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