#262995#262995

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

Color values

HEX#262995
RGBrgb(38, 41, 149)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(74.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.22, 36.39, -59.14)
CIE-LCHlch(24.22, 69.44, 301.60°)
OKLaboklab(36.19% 0.008 -0.1711)
OKLCHoklch(36.19% 0.171 272.7)
XYZxyz(7.0153, 4.1672, 28.8626)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262995 #959226
analogous
#266195 #262995 #5B2695
triadic
#262995 #952629 #299526
tetradic
#262995 #952661 #959226 #26955B
square
#262995 #952661 #959226 #26955B
split-complementary
#262995 #955B26 #619526
monochromatic
#0D0E33 #1A1C64 #262995 #3236C6 #5F62D6

Accessibility & contrast

On white

11.45
#262995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262995
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262995#FFFFFF#000000##FFFFFF
##2629951.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262995;
/* rgb */ color: rgb(38, 41, 149);
/* oklch */ color: oklch(36.2% 0.171 272.7);
Tailwind
colors: {
  custom: {
    50: '#7364b5',
    500: '#262995',
    950: '#000000',
  },
}
SCSS
$custom: #262995;
$custom-light: #7364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262995",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 238.378,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.17127,
    "h": 272.7
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#262995
secondary
#BBB95B
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262995

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

Preview Lab → · Contrast checker → · Palette generator →

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