#202260#202260

#202260 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.108 H 276.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#202260
RGBrgb(32, 34, 96)
HSLhsl(238, 50%, 25%)
HSVhsv(238, 67%, 38%)
CMYKcmyk(66.7%, 64.6%, 0%, 62.4%)
CIE-LABlab(16.97, 20.66, -37.24)
CIE-LCHlch(16.97, 42.59, 299.02°)
OKLaboklab(29.25% 0.0114 -0.1072)
OKLCHoklch(29.25% 0.108 276.1)
XYZxyz(3.2783, 2.2954, 11.3344)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202260 #605E20
analogous
#204260 #202260 #3E2060
triadic
#202260 #602022 #226020
tetradic
#202260 #602042 #605E20 #20603E
square
#202260 #602042 #605E20 #20603E
split-complementary
#202260 #603E20 #426020
monochromatic
#080817 #111232 #202260 #2F328E #3F43BC

Accessibility & contrast

On white

14.39
#202260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#202260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202260
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202260#FFFFFF#000000##FFFFFF
##2022601.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #202260;
/* rgb */ color: rgb(32, 34, 96);
/* oklch */ color: oklch(29.3% 0.108 276.1);
Tailwind
colors: {
  custom: {
    50: '#645d8e',
    500: '#202260',
    950: '#000000',
  },
}
SCSS
$custom: #202260;
$custom-light: #645d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#202260",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 238.125,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29254,
    "c": 0.10778,
    "h": 276.1
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#202260
secondary
#949247
accent
#D54EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #202260

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

Preview Lab → · Contrast checker → · Palette generator →

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