#262689#262689

#262689 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.159 H 274.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#262689
RGBrgb(38, 38, 137)
HSLhsl(240, 57%, 34%)
HSVhsv(240, 72%, 54%)
CMYKcmyk(72.3%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.32, 34.00, -54.82)
CIE-LCHlch(22.32, 64.51, 301.81°)
OKLaboklab(34.46% 0.0116 -0.1585)
OKLCHoklch(34.46% 0.159 274.2)
XYZxyz(6.0063, 3.6039, 24.0411)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262689 #898926
analogous
#265889 #262689 #582689
triadic
#262689 #892626 #268926
tetradic
#262689 #892658 #898926 #268958
square
#262689 #892658 #898926 #268958
split-complementary
#262689 #895826 #588926
monochromatic
#0B0B29 #191959 #262689 #3333B9 #5959D1

Accessibility & contrast

On white

12.20
#262689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262689
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262689#FFFFFF#000000##FFFFFF
##2626891.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262689;
/* rgb */ color: rgb(38, 38, 137);
/* oklch */ color: oklch(34.5% 0.159 274.2);
Tailwind
colors: {
  custom: {
    50: '#7061ac',
    500: '#262689',
    950: '#000000',
  },
}
SCSS
$custom: #262689;
$custom-light: #7061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262689",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34459,
    "c": 0.15891,
    "h": 274.2
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#262689
secondary
#B6B655
accent
#E048E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #262689

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

Preview Lab → · Contrast checker → · Palette generator →

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