#262D80#262D80

#262D80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.138 H 273.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#262D80
RGBrgb(38, 45, 128)
HSLhsl(235, 54%, 33%)
HSVhsv(235, 70%, 50%)
CMYKcmyk(70.3%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.16, 26.15, -47.79)
CIE-LCHlch(23.16, 54.48, 298.69°)
OKLaboklab(34.81% 0.0075 -0.1379)
OKLCHoklch(34.81% 0.138 273.1)
XYZxyz(5.6327, 3.8468, 20.8636)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D80 #807926
analogous
#265A80 #262D80 #4C2680
triadic
#262D80 #80262D #2D8026
tetradic
#262D80 #80265A #807926 #26804C
square
#262D80 #80265A #807926 #26804C
split-complementary
#262D80 #804C26 #5A8026
monochromatic
#0A0C22 #181C51 #262D80 #343EAF #545DCC

Accessibility & contrast

On white

11.87
#262D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D80
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D80#FFFFFF#000000##FFFFFF
##262D801.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262d80;
/* rgb */ color: rgb(38, 45, 128);
/* oklch */ color: oklch(34.8% 0.138 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d66a6',
    500: '#262d80',
    950: '#000000',
  },
}
SCSS
$custom: #262d80;
$custom-light: #6d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262d80",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 235.333,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.13807,
    "h": 273.1
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#262D80
secondary
#B1A951
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262D80

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

Preview Lab → · Contrast checker → · Palette generator →

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