#2738B0#2738B0

#2738B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.189 H 269.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2738B0
RGBrgb(39, 56, 176)
HSLhsl(233, 64%, 42%)
HSVhsv(233, 78%, 69%)
CMYKcmyk(77.8%, 68.2%, 0%, 31%)
CIE-LABlab(30.38, 36.78, -65.35)
CIE-LCHlch(30.38, 74.99, 299.37°)
OKLaboklab(41.47% -0.0021 -0.1892)
OKLCHoklch(41.47% 0.189 269.4)
XYZxyz(10.0847, 6.3931, 41.7684)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2738B0 #B09F27
analogous
#277CB0 #2738B0 #5B27B0
triadic
#2738B0 #B02738 #38B027
tetradic
#2738B0 #B0277C #B09F27 #27B05B
square
#2738B0 #B0277C #B09F27 #27B05B
split-complementary
#2738B0 #B05B27 #7CB027
monochromatic
#11184C #1C287E #2738B0 #4052D5 #727FE0

Accessibility & contrast

On white

9.22
#2738B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2738B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2738B0#FFFFFF#000000##FFFFFF
##2738B01.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2738b0;
/* rgb */ color: rgb(39, 56, 176);
/* oklch */ color: oklch(41.5% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#786fc9',
    500: '#2738b0',
    950: '#000000',
  },
}
SCSS
$custom: #2738b0;
$custom-light: #786fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2738b0",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 232.555,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.18919,
    "h": 269.4
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#2738B0
secondary
#C7BB6C
accent
#D241E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2738B0

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

Preview Lab → · Contrast checker → · Palette generator →

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