#262598#262598

#262598 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.179 H 273.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#262598
RGBrgb(38, 37, 152)
HSLhsl(241, 61%, 37%)
HSVhsv(241, 76%, 60%)
CMYKcmyk(75%, 75.7%, 0%, 40.4%)
CIE-LABlab(23.68, 39.82, -61.87)
CIE-LCHlch(23.68, 73.58, 302.76°)
OKLaboklab(35.9% 0.0096 -0.179)
OKLCHoklch(35.9% 0.179 273.1)
XYZxyz(7.1265, 4.0015, 30.0965)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262598 #979825
analogous
#255D98 #262598 #602598
triadic
#262598 #982625 #259826
tetradic
#262598 #98255D #979825 #259860
square
#262598 #98255D #979825 #259860
split-complementary
#262598 #986025 #5D9825
monochromatic
#0D0D36 #1A1967 #262598 #3231C9 #605FD8

Accessibility & contrast

On white

11.66
#262598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262598
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262598#FFFFFF#000000##FFFFFF
##2625981.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262598;
/* rgb */ color: rgb(38, 37, 152);
/* oklch */ color: oklch(35.9% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#7461b8',
    500: '#262598',
    950: '#000000',
  },
}
SCSS
$custom: #262598;
$custom-light: #7461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262598",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 240.522,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.17929,
    "h": 273.1
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#262598
secondary
#BCBD5C
accent
#E444E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #262598

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

Preview Lab → · Contrast checker → · Palette generator →

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