#262E9A#262E9A

#262E9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.172 H 271.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#262E9A
RGBrgb(38, 46, 154)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(75.3%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.86, 35.05, -59.50)
CIE-LCHlch(25.86, 69.06, 300.50°)
OKLaboklab(37.53% 0.0045 -0.1722)
OKLCHoklch(37.53% 0.172 271.5)
XYZxyz(7.6071, 4.6984, 31.0715)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E9A #9A9226
analogous
#26689A #262E9A #58269A
triadic
#262E9A #9A262E #2E9A26
tetradic
#262E9A #9A2668 #9A9226 #269A58
square
#262E9A #9A2668 #9A9226 #269A58
split-complementary
#262E9A #9A5826 #689A26
monochromatic
#0E1138 #1A1F69 #262E9A #323DCB #626AD8

Accessibility & contrast

On white

10.83
#262E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E9A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E9A#FFFFFF#000000##FFFFFF
##262E9A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262e9a;
/* rgb */ color: rgb(38, 46, 154);
/* oklch */ color: oklch(37.5% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#7367b9',
    500: '#262e9a',
    950: '#000000',
  },
}
SCSS
$custom: #262e9a;
$custom-light: #7367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#262e9a",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 235.862,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.17222,
    "h": 271.5
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#262E9A
secondary
#BEB75E
accent
#D944E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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