#262B81#262B81

#262B81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.142 H 273.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#262B81
RGBrgb(38, 43, 129)
HSLhsl(237, 54%, 33%)
HSVhsv(237, 71%, 51%)
CMYKcmyk(70.5%, 66.7%, 0%, 49.4%)
CIE-LABlab(22.74, 27.87, -49.11)
CIE-LCHlch(22.74, 56.46, 299.57°)
OKLaboklab(34.53% 0.009 -0.1417)
OKLCHoklch(34.53% 0.142 273.6)
XYZxyz(5.6243, 3.7243, 21.1871)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B81 #817C26
analogous
#265981 #262B81 #4E2681
triadic
#262B81 #81262B #2B8126
tetradic
#262B81 #812659 #817C26 #26814E
square
#262B81 #812659 #817C26 #26814E
split-complementary
#262B81 #814E26 #598126
monochromatic
#0A0B22 #181B52 #262B81 #343BB0 #555BCD

Accessibility & contrast

On white

12.03
#262B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B81
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B81#FFFFFF#000000##FFFFFF
##262B811.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262b81;
/* rgb */ color: rgb(38, 43, 129);
/* oklch */ color: oklch(34.5% 0.142 273.6);
Tailwind
colors: {
  custom: {
    50: '#6d64a6',
    500: '#262b81',
    950: '#000000',
  },
}
SCSS
$custom: #262b81;
$custom-light: #6d64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#262b81",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 236.703,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.14204,
    "h": 273.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#262B81
secondary
#B1AC51
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262B81

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

Preview Lab → · Contrast checker → · Palette generator →

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