#262B84#262B84

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

Color values

HEX#262B84
RGBrgb(38, 43, 132)
HSLhsl(237, 55%, 33%)
HSVhsv(237, 71%, 52%)
CMYKcmyk(71.2%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.02, 28.98, -50.54)
CIE-LCHlch(23.02, 58.25, 299.83°)
OKLaboklab(34.82% 0.0088 -0.1459)
OKLCHoklch(34.82% 0.146 273.4)
XYZxyz(5.8267, 3.8052, 22.2527)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B84 #847F26
analogous
#265A84 #262B84 #502684
triadic
#262B84 #84262B #2B8426
tetradic
#262B84 #84265A #847F26 #268450
square
#262B84 #84265A #847F26 #268450
split-complementary
#262B84 #845026 #5A8426
monochromatic
#0B0C25 #181C54 #262B84 #343AB4 #565CCE

Accessibility & contrast

On white

11.92
#262B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B84
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B84#FFFFFF#000000##FFFFFF
##262B841.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262b84;
/* rgb */ color: rgb(38, 43, 132);
/* oklch */ color: oklch(34.8% 0.146 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#262b84',
    950: '#000000',
  },
}
SCSS
$custom: #262b84;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262b84",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 236.809,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.1462,
    "h": 273.4
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#262B84
secondary
#B3AE53
accent
#D749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B84

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

Preview Lab → · Contrast checker → · Palette generator →

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