#262897#262897

#262897 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.175 H 272.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#262897
RGBrgb(38, 40, 151)
HSLhsl(239, 60%, 37%)
HSVhsv(239, 75%, 59%)
CMYKcmyk(74.8%, 73.5%, 0%, 40.8%)
CIE-LABlab(24.20, 37.70, -60.39)
CIE-LCHlch(24.20, 71.19, 301.98°)
OKLaboklab(36.24% 0.0082 -0.1747)
OKLCHoklch(36.24% 0.175 272.7)
XYZxyz(7.1422, 4.1633, 29.6993)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262897 #979526
analogous
#266197 #262897 #5D2697
triadic
#262897 #972628 #289726
tetradic
#262897 #972661 #979526 #26975D
square
#262897 #972661 #979526 #26975D
split-complementary
#262897 #975D26 #619726
monochromatic
#0D0E35 #1A1B66 #262897 #3235C8 #6062D7

Accessibility & contrast

On white

11.46
#262897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262897
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262897#FFFFFF#000000##FFFFFF
##2628971.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262897;
/* rgb */ color: rgb(38, 40, 151);
/* oklch */ color: oklch(36.2% 0.175 272.7);
Tailwind
colors: {
  custom: {
    50: '#7363b7',
    500: '#262897',
    950: '#000000',
  },
}
SCSS
$custom: #262897;
$custom-light: #7363b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262897",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 238.938,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.17492,
    "h": 272.7
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#262897
secondary
#BCBB5C
accent
#E045E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262897

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

Preview Lab → · Contrast checker → · Palette generator →

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