#262A80#262A80

#262A80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.142 H 274.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#262A80
RGBrgb(38, 42, 128)
HSLhsl(237, 54%, 33%)
HSVhsv(237, 70%, 50%)
CMYKcmyk(70.3%, 67.2%, 0%, 49.8%)
CIE-LABlab(22.39, 28.16, -49.04)
CIE-LCHlch(22.39, 56.55, 299.87°)
OKLaboklab(34.25% 0.0099 -0.1416)
OKLCHoklch(34.25% 0.142 274)
XYZxyz(5.5223, 3.6260, 20.8268)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A80 #807C26
analogous
#265780 #262A80 #4F2680
triadic
#262A80 #80262A #2A8026
tetradic
#262A80 #802657 #807C26 #26804F
square
#262A80 #802657 #807C26 #26804F
split-complementary
#262A80 #804F26 #578026
monochromatic
#0A0B22 #181B51 #262A80 #3439AF #5459CC

Accessibility & contrast

On white

12.17
#262A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A80
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A80#FFFFFF#000000##FFFFFF
##262A801.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262a80;
/* rgb */ color: rgb(38, 42, 128);
/* oklch */ color: oklch(34.2% 0.142 274.0);
Tailwind
colors: {
  custom: {
    50: '#6d63a6',
    500: '#262a80',
    950: '#000000',
  },
}
SCSS
$custom: #262a80;
$custom-light: #6d63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262a80",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 237.333,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34248,
    "c": 0.14191,
    "h": 274
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#262A80
secondary
#B1AD51
accent
#D74ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #262A80

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

Preview Lab → · Contrast checker → · Palette generator →

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