#262A9D#262A9D

#262A9D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.180 H 272.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#262A9D
RGBrgb(38, 42, 157)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(75.8%, 73.2%, 0%, 38.4%)
CIE-LABlab(25.26, 38.59, -62.31)
CIE-LCHlch(25.26, 73.29, 301.77°)
OKLaboklab(37.19% 0.0063 -0.1803)
OKLCHoklch(37.19% 0.18 272)
XYZxyz(7.7110, 4.5015, 32.3542)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9D #9D9926
analogous
#26659D #262A9D #5D269D
triadic
#262A9D #9D262A #2A9D26
tetradic
#262A9D #9D2665 #9D9926 #269D5D
square
#262A9D #9D2665 #9D9926 #269D5D
split-complementary
#262A9D #9D5D26 #659D26
monochromatic
#0E103A #1A1D6C #262A9D #3338CE #6468D9

Accessibility & contrast

On white

11.05
#262A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#262A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A9D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9D#FFFFFF#000000##FFFFFF
##262A9D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262a9d;
/* rgb */ color: rgb(38, 42, 157);
/* oklch */ color: oklch(37.2% 0.180 272.0);
Tailwind
colors: {
  custom: {
    50: '#7465bb',
    500: '#262a9d',
    950: '#000000',
  },
}
SCSS
$custom: #262a9d;
$custom-light: #7465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9d",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 237.983,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.18046,
    "h": 272
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#262A9D
secondary
#BFBC60
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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