#262DAE#262DAE

#262DAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.199 H 270.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#262DAE
RGBrgb(38, 45, 174)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 68%)
CMYKcmyk(78.2%, 74.1%, 0%, 31.8%)
CIE-LABlab(27.69, 42.69, -68.59)
CIE-LCHlch(27.69, 80.79, 301.90°)
OKLaboklab(39.46% 0.0023 -0.1986)
OKLCHoklch(39.46% 0.199 270.7)
XYZxyz(9.3751, 5.3438, 40.5735)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DAE #AEA726
analogous
#2671AE #262DAE #6326AE
triadic
#262DAE #AE262D #2DAE26
tetradic
#262DAE #AE2671 #AEA726 #26AE63
square
#262DAE #AE2671 #AEA726 #26AE63
split-complementary
#262DAE #AE6326 #71AE26
monochromatic
#10134A #1B207C #262DAE #3D44D5 #6F75E0

Accessibility & contrast

On white

10.15
#262DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#262DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DAE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DAE#FFFFFF#000000##FFFFFF
##262DAE1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #262dae;
/* rgb */ color: rgb(38, 45, 174);
/* oklch */ color: oklch(39.5% 0.199 270.7);
Tailwind
colors: {
  custom: {
    50: '#7867c7',
    500: '#262dae',
    950: '#000000',
  },
}
SCSS
$custom: #262dae;
$custom-light: #7867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#262dae",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 236.912,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.19863,
    "h": 270.7
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#262DAE
secondary
#C6C16A
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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