#262899#262899

#262899 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.177 H 272.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#262899
RGBrgb(38, 40, 153)
HSLhsl(239, 60%, 37%)
HSVhsv(239, 75%, 60%)
CMYKcmyk(75.2%, 73.9%, 0%, 40%)
CIE-LABlab(24.41, 38.40, -61.27)
CIE-LCHlch(24.41, 72.31, 302.07°)
OKLaboklab(36.46% 0.0079 -0.1773)
OKLCHoklch(36.46% 0.177 272.6)
XYZxyz(7.3060, 4.2288, 30.5620)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262899 #999726
analogous
#266199 #262899 #5E2699
triadic
#262899 #992628 #289926
tetradic
#262899 #992661 #999726 #26995E
square
#262899 #992661 #999726 #26995E
split-complementary
#262899 #995E26 #619926
monochromatic
#0E0E37 #1A1B68 #262899 #3235CA #6264D8

Accessibility & contrast

On white

11.38
#262899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262899
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262899#FFFFFF#000000##FFFFFF
##2628991.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262899;
/* rgb */ color: rgb(38, 40, 153);
/* oklch */ color: oklch(36.5% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#7463b8',
    500: '#262899',
    950: '#000000',
  },
}
SCSS
$custom: #262899;
$custom-light: #7463b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262899",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 238.957,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.17748,
    "h": 272.6
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#262899
secondary
#BDBC5E
accent
#E144E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262899

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

Preview Lab → · Contrast checker → · Palette generator →

#262899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva