#262390#262390

#262390 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.171 H 274.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#262390
RGBrgb(38, 35, 144)
HSLhsl(242, 61%, 35%)
HSVhsv(242, 76%, 56%)
CMYKcmyk(73.6%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.40, 38.25, -59.04)
CIE-LCHlch(22.40, 70.35, 302.94°)
OKLaboklab(34.74% 0.0121 -0.1708)
OKLCHoklch(34.74% 0.171 274.1)
XYZxyz(6.4327, 3.6271, 26.7412)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262390 #8D9023
analogous
#235790 #262390 #5C2390
triadic
#262390 #902623 #239026
tetradic
#262390 #902357 #8D9023 #23905C
square
#262390 #902357 #8D9023 #23905C
split-complementary
#262390 #905C23 #579023
monochromatic
#0C0B2E #19175F #262390 #332FC1 #5B57D6

Accessibility & contrast

On white

12.17
#262390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262390
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262390#FFFFFF#000000##FFFFFF
##2623901.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262390;
/* rgb */ color: rgb(38, 35, 144);
/* oklch */ color: oklch(34.7% 0.171 274.1);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#262390',
    950: '#000000',
  },
}
SCSS
$custom: #262390;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#262390",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 241.651,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.17121,
    "h": 274.1
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#262390
secondary
#B8BA54
accent
#E444E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262390

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

Preview Lab → · Contrast checker → · Palette generator →

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