#262A9E#262A9E

#262A9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.182 H 271.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#262A9E
RGBrgb(38, 42, 158)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(75.9%, 73.4%, 0%, 38%)
CIE-LABlab(25.37, 38.94, -62.75)
CIE-LCHlch(25.37, 73.85, 301.82°)
OKLaboklab(37.3% 0.0061 -0.1816)
OKLCHoklch(37.3% 0.182 271.9)
XYZxyz(7.7968, 4.5358, 32.8057)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9E #9E9A26
analogous
#26669E #262A9E #5E269E
triadic
#262A9E #9E262A #2A9E26
tetradic
#262A9E #9E2666 #9E9A26 #269E5E
square
#262A9E #9E2666 #9E9A26 #269E5E
split-complementary
#262A9E #9E5E26 #669E26
monochromatic
#0E103B #1A1D6D #262A9E #3338CE #6568DA

Accessibility & contrast

On white

11.01
#262A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A9E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9E#FFFFFF#000000##FFFFFF
##262A9E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262a9e;
/* rgb */ color: rgb(38, 42, 158);
/* oklch */ color: oklch(37.3% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#7565bc',
    500: '#262a9e',
    950: '#000000',
  },
}
SCSS
$custom: #262a9e;
$custom-light: #7565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9e",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 238,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.18172,
    "h": 271.9
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#262A9E
secondary
#C0BC60
accent
#DF43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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