#2738AE#2738AE

#2738AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.187 H 269.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2738AE
RGBrgb(39, 56, 174)
HSLhsl(232, 63%, 42%)
HSVhsv(232, 78%, 68%)
CMYKcmyk(77.6%, 67.8%, 0%, 31.8%)
CIE-LABlab(30.19, 36.05, -64.47)
CIE-LCHlch(30.19, 73.86, 299.22°)
OKLaboklab(41.27% -0.0019 -0.1866)
OKLCHoklch(41.27% 0.187 269.4)
XYZxyz(9.8882, 6.3146, 40.7339)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2738AE #AE9D27
analogous
#277CAE #2738AE #5927AE
triadic
#2738AE #AE2738 #38AE27
tetradic
#2738AE #AE277C #AE9D27 #27AE59
square
#2738AE #AE277C #AE9D27 #27AE59
split-complementary
#2738AE #AE5927 #7CAE27
monochromatic
#11184A #1C287C #2738AE #3E51D4 #707EDF

Accessibility & contrast

On white

9.28
#2738AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2738AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2738AE#FFFFFF#000000##FFFFFF
##2738AE1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2738ae;
/* rgb */ color: rgb(39, 56, 174);
/* oklch */ color: oklch(41.3% 0.187 269.4);
Tailwind
colors: {
  custom: {
    50: '#786fc7',
    500: '#2738ae',
    950: '#000000',
  },
}
SCSS
$custom: #2738ae;
$custom-light: #786fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2738ae",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 232.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.18662,
    "h": 269.4
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#2738AE
secondary
#C6BA6B
accent
#D241E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2738AE

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

Preview Lab → · Contrast checker → · Palette generator →

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