#262E9D#262E9D

#262E9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.176 H 271.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#262E9D
RGBrgb(38, 46, 157)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(75.8%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.16, 36.13, -60.85)
CIE-LCHlch(26.16, 70.77, 300.70°)
OKLaboklab(37.83% 0.0042 -0.1761)
OKLCHoklch(37.83% 0.176 271.4)
XYZxyz(7.8601, 4.7995, 32.4039)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E9D #9D9526
analogous
#266A9D #262E9D #59269D
triadic
#262E9D #9D262E #2E9D26
tetradic
#262E9D #9D266A #9D9526 #269D59
square
#262E9D #9D266A #9D9526 #269D59
split-complementary
#262E9D #9D5926 #6A9D26
monochromatic
#0E113A #1A206C #262E9D #333DCE #646CD9

Accessibility & contrast

On white

10.71
#262E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#262E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E9D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E9D#FFFFFF#000000##FFFFFF
##262E9D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262e9d;
/* rgb */ color: rgb(38, 46, 157);
/* oklch */ color: oklch(37.8% 0.176 271.4);
Tailwind
colors: {
  custom: {
    50: '#7467bb',
    500: '#262e9d',
    950: '#000000',
  },
}
SCSS
$custom: #262e9d;
$custom-light: #7467bb;
$custom-dark: #000000;
JSON
{
  "hex": "#262e9d",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 235.966,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.17613,
    "h": 271.4
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#262E9D
secondary
#BFB960
accent
#D944E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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