#2738AA#2738AA

#2738AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.181 H 269.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2738AA
RGBrgb(39, 56, 170)
HSLhsl(232, 63%, 41%)
HSVhsv(232, 77%, 67%)
CMYKcmyk(77.1%, 67.1%, 0%, 33.3%)
CIE-LABlab(29.81, 34.60, -62.69)
CIE-LCHlch(29.81, 71.61, 298.89°)
OKLaboklab(40.88% -0.0016 -0.1814)
OKLCHoklch(40.88% 0.181 269.5)
XYZxyz(9.5041, 6.1609, 38.7107)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2738AA #AA9927
analogous
#2779AA #2738AA #5727AA
triadic
#2738AA #AA2738 #38AA27
tetradic
#2738AA #AA2779 #AA9927 #27AA57
square
#2738AA #AA2779 #AA9927 #27AA57
split-complementary
#2738AA #AA5727 #79AA27
monochromatic
#101746 #1C2878 #2738AA #3C4FD2 #6E7CDE

Accessibility & contrast

On white

9.41
#2738AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2738AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2738AA
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2738AA#FFFFFF#000000##FFFFFF
##2738AA1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2738aa;
/* rgb */ color: rgb(39, 56, 170);
/* oklch */ color: oklch(40.9% 0.181 269.5);
Tailwind
colors: {
  custom: {
    50: '#776ec4',
    500: '#2738aa',
    950: '#000000',
  },
}
SCSS
$custom: #2738aa;
$custom-light: #776ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2738aa",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 232.214,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.18143,
    "h": 269.5
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#2738AA
secondary
#C4B869
accent
#D042E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2738AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2738AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva