#2627A2#2627A2

#2627A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.190 H 272.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2627A2
RGBrgb(38, 39, 162)
HSLhsl(240, 62%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(76.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(25.17, 42.06, -65.51)
CIE-LCHlch(25.17, 77.86, 302.70°)
OKLaboklab(37.28% 0.0068 -0.1896)
OKLCHoklch(37.28% 0.19 272.1)
XYZxyz(8.0442, 4.4709, 34.6144)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2627A2 #A2A126
analogous
#2665A2 #2627A2 #6326A2
triadic
#2627A2 #A22627 #27A226
tetradic
#2627A2 #A22665 #A2A126 #26A263
square
#2627A2 #A22665 #A2A126 #26A263
split-complementary
#2627A2 #A26326 #65A226
monochromatic
#0F0F3F #1A1B70 #2627A2 #3537D0 #6768DB

Accessibility & contrast

On white

11.09
#2627A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2627A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2627A2
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2627A2#FFFFFF#000000##FFFFFF
##2627A21.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2627a2;
/* rgb */ color: rgb(38, 39, 162);
/* oklch */ color: oklch(37.3% 0.190 272.1);
Tailwind
colors: {
  custom: {
    50: '#7663bf',
    500: '#2627a2',
    950: '#000000',
  },
}
SCSS
$custom: #2627a2;
$custom-light: #7663bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2627a2",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 239.516,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.18976,
    "h": 272.1
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#2627A2
secondary
#C1C063
accent
#E443E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2627A2

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

Preview Lab → · Contrast checker → · Palette generator →

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