#2620B4#2620B4

#2620B4 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.217 H 271.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2620B4
RGBrgb(38, 32, 180)
HSLhsl(242, 70%, 42%)
HSVhsv(242, 82%, 71%)
CMYKcmyk(78.9%, 82.2%, 0%, 29.4%)
CIE-LABlab(25.98, 51.52, -75.02)
CIE-LCHlch(25.98, 91.00, 304.48°)
OKLaboklab(38.45% 0.0053 -0.2171)
OKLCHoklch(38.45% 0.217 271.4)
XYZxyz(9.5513, 4.7393, 43.5826)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2620B4 #AEB420
analogous
#2064B4 #2620B4 #7020B4
triadic
#2620B4 #B42620 #20B426
tetradic
#2620B4 #B42064 #AEB420 #20B470
square
#2620B4 #B42064 #AEB420 #20B470
split-complementary
#2620B4 #B47020 #64B420
monochromatic
#100E4C #1B1780 #2620B4 #3D36DB #6F6AE4

Accessibility & contrast

On white

10.78
#2620B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2620B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2620B4
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2620B4#FFFFFF#000000##FFFFFF
##2620B41.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0036B2
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2620b4;
/* rgb */ color: rgb(38, 32, 180);
/* oklch */ color: oklch(38.5% 0.217 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b60cc',
    500: '#2620b4',
    950: '#000000',
  },
}
SCSS
$custom: #2620b4;
$custom-light: #7b60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2620b4",
  "rgb": {
    "r": 38,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 242.432,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38451,
    "c": 0.21716,
    "h": 271.4
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#2620B4
secondary
#C6CA66
accent
#ED3BE5
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2620B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2620B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva