#262D85#262D85

#262D85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.145 H 272.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#262D85
RGBrgb(38, 45, 133)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(71.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.61, 28.02, -50.19)
CIE-LCHlch(23.61, 57.48, 299.17°)
OKLaboklab(35.28% 0.0072 -0.1449)
OKLCHoklch(35.28% 0.145 272.8)
XYZxyz(5.9699, 3.9817, 22.6397)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D85 #857E26
analogous
#265C85 #262D85 #4E2685
triadic
#262D85 #85262D #2D8526
tetradic
#262D85 #85265C #857E26 #26854E
square
#262D85 #85265C #857E26 #26854E
split-complementary
#262D85 #854E26 #5C8526
monochromatic
#0B0D26 #181D55 #262D85 #343DB5 #575FCF

Accessibility & contrast

On white

11.69
#262D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D85
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D85#FFFFFF#000000##FFFFFF
##262D851.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262d85;
/* rgb */ color: rgb(38, 45, 133);
/* oklch */ color: oklch(35.3% 0.145 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#262d85',
    950: '#000000',
  },
}
SCSS
$custom: #262d85;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262d85",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 235.579,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.1451,
    "h": 272.8
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#262D85
secondary
#B3AC53
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D85

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

Preview Lab → · Contrast checker → · Palette generator →

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