#262B80#262B80

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

Color values

HEX#262B80
RGBrgb(38, 43, 128)
HSLhsl(237, 54%, 33%)
HSVhsv(237, 70%, 50%)
CMYKcmyk(70.3%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.65, 27.50, -48.63)
CIE-LCHlch(22.65, 55.86, 299.49°)
OKLaboklab(34.43% 0.0091 -0.1403)
OKLCHoklch(34.43% 0.141 273.7)
XYZxyz(5.5582, 3.6978, 20.8387)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B80 #807B26
analogous
#265880 #262B80 #4E2680
triadic
#262B80 #80262B #2B8026
tetradic
#262B80 #802658 #807B26 #26804E
square
#262B80 #802658 #807B26 #26804E
split-complementary
#262B80 #804E26 #588026
monochromatic
#0A0B22 #181B51 #262B80 #343BAF #545BCC

Accessibility & contrast

On white

12.07
#262B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B80
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B80#FFFFFF#000000##FFFFFF
##262B801.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b80;
/* rgb */ color: rgb(38, 43, 128);
/* oklch */ color: oklch(34.4% 0.141 273.7);
Tailwind
colors: {
  custom: {
    50: '#6d64a6',
    500: '#262b80',
    950: '#000000',
  },
}
SCSS
$custom: #262b80;
$custom-light: #6d64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262b80",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 236.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.14064,
    "h": 273.7
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#262B80
secondary
#B1AB51
accent
#D54ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262B80

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

Preview Lab → · Contrast checker → · Palette generator →

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