#2627AE#2627AE

#2627AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.204 H 271.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2627AE
RGBrgb(38, 39, 174)
HSLhsl(240, 64%, 42%)
HSVhsv(240, 78%, 68%)
CMYKcmyk(78.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.50, 46.07, -70.56)
CIE-LCHlch(26.50, 84.27, 303.14°)
OKLaboklab(38.61% 0.0045 -0.2043)
OKLCHoklch(38.61% 0.204 271.3)
XYZxyz(9.1622, 4.9181, 40.5026)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2627AE #AEAD26
analogous
#266BAE #2627AE #6926AE
triadic
#2627AE #AE2627 #27AE26
tetradic
#2627AE #AE266B #AEAD26 #26AE69
square
#2627AE #AE266B #AEAD26 #26AE69
split-complementary
#2627AE #AE6926 #6BAE26
monochromatic
#10104A #1B1C7C #2627AE #3D3ED5 #6F70E0

Accessibility & contrast

On white

10.59
#2627AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2627AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2627AE
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2627AE#FFFFFF#000000##FFFFFF
##2627AE1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2627ae;
/* rgb */ color: rgb(38, 39, 174);
/* oklch */ color: oklch(38.6% 0.204 271.3);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2627ae',
    950: '#000000',
  },
}
SCSS
$custom: #2627ae;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2627ae",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 239.559,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.20435,
    "h": 271.3
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2627AE

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

Preview Lab → · Contrast checker → · Palette generator →

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