#2654AF#2654AF

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

Color values

HEX#2654AF
RGBrgb(38, 84, 175)
HSLhsl(220, 64%, 42%)
HSVhsv(220, 78%, 69%)
CMYKcmyk(78.3%, 52%, 0%, 31.4%)
CIE-LABlab(37.57, 17.87, -53.04)
CIE-LCHlch(37.57, 55.97, 288.62°)
OKLaboklab(46.79% -0.0212 -0.1527)
OKLCHoklch(46.79% 0.154 262.1)
XYZxyz(11.7047, 9.8465, 41.8328)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654AF #AF8126
analogous
#2699AF #2654AF #3D26AF
triadic
#2654AF #AF2654 #54AF26
tetradic
#2654AF #AF2699 #AF8126 #26AF3D
square
#2654AF #AF2699 #AF8126 #26AF3D
split-complementary
#2654AF #AF3D26 #99AF26
monochromatic
#10244A #1B3C7D #2654AF #3D70D5 #7095E0

Accessibility & contrast

On white

7.07
#2654AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2654AF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654AF#FFFFFF#000000##FFFFFF
##2654AF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2654af;
/* rgb */ color: rgb(38, 84, 175);
/* oklch */ color: oklch(46.8% 0.154 262.1);
Tailwind
colors: {
  custom: {
    50: '#7683c7',
    500: '#2654af',
    950: '#000000',
  },
}
SCSS
$custom: #2654af;
$custom-light: #7683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2654af",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 219.854,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.15418,
    "h": 262.1
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#2654AF
secondary
#C7A86A
accent
#AF40E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654AF

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

Preview Lab → · Contrast checker → · Palette generator →

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