#2627AC#2627AC

#2627AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.202 H 271.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2627AC
RGBrgb(38, 39, 172)
HSLhsl(240, 64%, 41%)
HSVhsv(240, 78%, 67%)
CMYKcmyk(77.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(26.28, 45.41, -69.73)
CIE-LCHlch(26.28, 83.21, 303.07°)
OKLaboklab(38.39% 0.0049 -0.2019)
OKLCHoklch(38.39% 0.202 271.4)
XYZxyz(8.9687, 4.8407, 39.4834)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2627AC #ACAB26
analogous
#266AAC #2627AC #6826AC
triadic
#2627AC #AC2627 #27AC26
tetradic
#2627AC #AC266A #ACAB26 #26AC68
square
#2627AC #AC266A #ACAB26 #26AC68
split-complementary
#2627AC #AC6826 #6AAC26
monochromatic
#101048 #1B1C7A #2627AC #3B3DD4 #6E6EDF

Accessibility & contrast

On white

10.67
#2627AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2627AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2627AC
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2627AC#FFFFFF#000000##FFFFFF
##2627AC1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2627ac;
/* rgb */ color: rgb(38, 39, 172);
/* oklch */ color: oklch(38.4% 0.202 271.4);
Tailwind
colors: {
  custom: {
    50: '#7863c6',
    500: '#2627ac',
    950: '#000000',
  },
}
SCSS
$custom: #2627ac;
$custom-light: #7863c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2627ac",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 239.552,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38389,
    "c": 0.20195,
    "h": 271.4
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#2627AC
secondary
#C5C568
accent
#E641E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2627AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2627AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva