#262E9F#262E9F

#262E9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.179 H 271.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#262E9F
RGBrgb(38, 46, 159)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(76.1%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.36, 36.85, -61.73)
CIE-LCHlch(26.36, 71.89, 300.83°)
OKLaboklab(38.04% 0.0039 -0.1787)
OKLCHoklch(38.04% 0.179 271.3)
XYZxyz(8.0322, 4.8684, 33.3105)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E9F #9F9726
analogous
#266A9F #262E9F #5A269F
triadic
#262E9F #9F262E #2E9F26
tetradic
#262E9F #9F266A #9F9726 #269F5A
square
#262E9F #9F266A #9F9726 #269F5A
split-complementary
#262E9F #9F5A26 #6A9F26
monochromatic
#0E113C #1A206E #262E9F #343ECE #656DDA

Accessibility & contrast

On white

10.64
#262E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E9F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E9F#FFFFFF#000000##FFFFFF
##262E9F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262e9f;
/* rgb */ color: rgb(38, 46, 159);
/* oklch */ color: oklch(38.0% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#262e9f',
    950: '#000000',
  },
}
SCSS
$custom: #262e9f;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262e9f",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 236.033,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.17871,
    "h": 271.3
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#262E9F
secondary
#C0BA61
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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