#2754AF#2754AF

#2754AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.154 H 262.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2754AF
RGBrgb(39, 84, 175)
HSLhsl(220, 64%, 42%)
HSVhsv(220, 78%, 69%)
CMYKcmyk(77.7%, 52%, 0%, 31.4%)
CIE-LABlab(37.60, 17.99, -52.98)
CIE-LCHlch(37.60, 55.95, 288.75°)
OKLaboklab(46.82% -0.0205 -0.1525)
OKLCHoklch(46.82% 0.154 262.4)
XYZxyz(11.7421, 9.8658, 41.8346)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754AF #AF8227
analogous
#2798AF #2754AF #3E27AF
triadic
#2754AF #AF2754 #54AF27
tetradic
#2754AF #AF2798 #AF8227 #27AF3E
square
#2754AF #AF2798 #AF8227 #27AF3E
split-complementary
#2754AF #AF3E27 #98AF27
monochromatic
#11244B #1C3C7D #2754AF #3F70D4 #7196DF

Accessibility & contrast

On white

7.06
#2754AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2754AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754AF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754AF#FFFFFF#000000##FFFFFF
##2754AF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2754af;
/* rgb */ color: rgb(39, 84, 175);
/* oklch */ color: oklch(46.8% 0.154 262.4);
Tailwind
colors: {
  custom: {
    50: '#7683c7',
    500: '#2754af',
    950: '#000000',
  },
}
SCSS
$custom: #2754af;
$custom-light: #7683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2754af",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 220.147,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.15391,
    "h": 262.4
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#2754AF
secondary
#C6A86B
accent
#B041E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2754AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva