#262E9B#262E9B

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

Color values

HEX#262E9B
RGBrgb(38, 46, 155)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 75%, 61%)
CMYKcmyk(75.5%, 70.3%, 0%, 39.2%)
CIE-LABlab(25.96, 35.41, -59.95)
CIE-LCHlch(25.96, 69.63, 300.57°)
OKLaboklab(37.63% 0.0044 -0.1735)
OKLCHoklch(37.63% 0.174 271.5)
XYZxyz(7.6907, 4.7318, 31.5120)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E9B #9B9326
analogous
#26699B #262E9B #58269B
triadic
#262E9B #9B262E #2E9B26
tetradic
#262E9B #9B2669 #9B9326 #269B58
square
#262E9B #9B2669 #9B9326 #269B58
split-complementary
#262E9B #9B5826 #699B26
monochromatic
#0E1139 #1A1F6A #262E9B #323DCC #636BD9

Accessibility & contrast

On white

10.79
#262E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E9B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E9B#FFFFFF#000000##FFFFFF
##262E9B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262e9b;
/* rgb */ color: rgb(38, 46, 155);
/* oklch */ color: oklch(37.6% 0.174 271.5);
Tailwind
colors: {
  custom: {
    50: '#7467ba',
    500: '#262e9b',
    950: '#000000',
  },
}
SCSS
$custom: #262e9b;
$custom-light: #7467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262e9b",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 235.897,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37627,
    "c": 0.17353,
    "h": 271.5
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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