#262B8A#262B8A

#262B8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.154 H 273.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#262B8A
RGBrgb(38, 43, 138)
HSLhsl(237, 57%, 35%)
HSVhsv(237, 72%, 54%)
CMYKcmyk(72.5%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.59, 31.17, -53.36)
CIE-LCHlch(23.59, 61.80, 300.30°)
OKLaboklab(35.41% 0.0082 -0.1542)
OKLCHoklch(35.41% 0.154 273)
XYZxyz(6.2491, 3.9742, 24.4776)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8A #8A8526
analogous
#265D8A #262B8A #53268A
triadic
#262B8A #8A262B #2B8A26
tetradic
#262B8A #8A265D #8A8526 #268A53
square
#262B8A #8A265D #8A8526 #268A53
split-complementary
#262B8A #8A5326 #5D8A26
monochromatic
#0C0D2A #191C5A #262B8A #333ABA #595FD1

Accessibility & contrast

On white

11.70
#262B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B8A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8A#FFFFFF#000000##FFFFFF
##262B8A1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262b8a;
/* rgb */ color: rgb(38, 43, 138);
/* oklch */ color: oklch(35.4% 0.154 273.0);
Tailwind
colors: {
  custom: {
    50: '#7064ad',
    500: '#262b8a',
    950: '#000000',
  },
}
SCSS
$custom: #262b8a;
$custom-light: #7064ad;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8a",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 237,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.15442,
    "h": 273
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#262B8A
secondary
#B6B156
accent
#D848E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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