#262A9F#262A9F

#262A9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.183 H 271.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#262A9F
RGBrgb(38, 42, 159)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(76.1%, 73.6%, 0%, 37.6%)
CIE-LABlab(25.47, 39.28, -63.19)
CIE-LCHlch(25.47, 74.40, 301.87°)
OKLaboklab(37.4% 0.0059 -0.1829)
OKLCHoklch(37.4% 0.183 271.9)
XYZxyz(7.8832, 4.5704, 33.2609)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9F #9F9B26
analogous
#26669F #262A9F #5E269F
triadic
#262A9F #9F262A #2A9F26
tetradic
#262A9F #9F2666 #9F9B26 #269F5E
square
#262A9F #9F2666 #9F9B26 #269F5E
split-complementary
#262A9F #9F5E26 #669F26
monochromatic
#0E103C #1A1D6E #262A9F #3439CE #6569DA

Accessibility & contrast

On white

10.97
#262A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A9F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9F#FFFFFF#000000##FFFFFF
##262A9F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262a9f;
/* rgb */ color: rgb(38, 42, 159);
/* oklch */ color: oklch(37.4% 0.183 271.9);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#262a9f',
    950: '#000000',
  },
}
SCSS
$custom: #262a9f;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9f",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 238.017,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.18299,
    "h": 271.9
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#262A9F
secondary
#C0BD61
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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