#262A82#262A82

#262A82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.145 H 273.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#262A82
RGBrgb(38, 42, 130)
HSLhsl(237, 55%, 33%)
HSVhsv(237, 71%, 51%)
CMYKcmyk(70.8%, 67.7%, 0%, 49%)
CIE-LABlab(22.58, 28.90, -49.99)
CIE-LCHlch(22.58, 57.74, 300.03°)
OKLaboklab(34.44% 0.0097 -0.1444)
OKLCHoklch(34.44% 0.145 273.9)
XYZxyz(5.6552, 3.6792, 21.5269)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A82 #827E26
analogous
#265882 #262A82 #502682
triadic
#262A82 #82262A #2A8226
tetradic
#262A82 #822658 #827E26 #268250
square
#262A82 #822658 #827E26 #268250
split-complementary
#262A82 #825026 #588226
monochromatic
#0A0B23 #181B53 #262A82 #3439B1 #555ACD

Accessibility & contrast

On white

12.10
#262A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A82
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A82#FFFFFF#000000##FFFFFF
##262A821.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262a82;
/* rgb */ color: rgb(38, 42, 130);
/* oklch */ color: oklch(34.4% 0.145 273.9);
Tailwind
colors: {
  custom: {
    50: '#6e64a7',
    500: '#262a82',
    950: '#000000',
  },
}
SCSS
$custom: #262a82;
$custom-light: #6e64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#262a82",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 237.391,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34442,
    "c": 0.14469,
    "h": 273.9
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#262A82
secondary
#B2AE52
accent
#D84ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #262A82

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

Preview Lab → · Contrast checker → · Palette generator →

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