#262997#262997

#262997 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.174 H 272.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#262997
RGBrgb(38, 41, 151)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(74.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(24.42, 37.09, -60.03)
CIE-LCHlch(24.42, 70.56, 301.71°)
OKLaboklab(36.4% 0.0077 -0.1737)
OKLCHoklch(36.4% 0.174 272.5)
XYZxyz(7.1763, 4.2316, 29.7107)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262997 #979426
analogous
#266297 #262997 #5C2697
triadic
#262997 #972629 #299726
tetradic
#262997 #972662 #979426 #26975C
square
#262997 #972662 #979426 #26975C
split-complementary
#262997 #975C26 #629726
monochromatic
#0D0E35 #1A1C66 #262997 #3236C8 #6063D7

Accessibility & contrast

On white

11.37
#262997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262997
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262997#FFFFFF#000000##FFFFFF
##2629971.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262997;
/* rgb */ color: rgb(38, 41, 151);
/* oklch */ color: oklch(36.4% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#7364b7',
    500: '#262997',
    950: '#000000',
  },
}
SCSS
$custom: #262997;
$custom-light: #7364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262997",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 238.407,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36402,
    "c": 0.17385,
    "h": 272.5
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#262997
secondary
#BCBA5C
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262997

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

Preview Lab → · Contrast checker → · Palette generator →

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