#2654CA#2654CA

#2654CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.190 H 264.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2654CA
RGBrgb(38, 84, 202)
HSLhsl(223, 68%, 47%)
HSVhsv(223, 81%, 79%)
CMYKcmyk(81.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(39.61, 28.26, -65.52)
CIE-LCHlch(39.61, 71.36, 293.33°)
OKLaboklab(48.97% -0.0191 -0.1894)
OKLCHoklch(48.97% 0.19 264.2)
XYZxyz(14.6265, 11.0152, 57.2209)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654CA #CA9C26
analogous
#26A6CA #2654CA #4A26CA
triadic
#2654CA #CA2654 #54CA26
tetradic
#2654CA #CA26A6 #CA9C26 #26CA4A
square
#2654CA #CA26A6 #CA9C26 #26CA4A
split-complementary
#2654CA #CA4A26 #A6CA26
monochromatic
#132963 #1C3F96 #2654CA #4F77DE #839FE8

Accessibility & contrast

On white

6.56
#2654CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2654CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2654CA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654CA#FFFFFF#000000##FFFFFF
##2654CA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2654ca;
/* rgb */ color: rgb(38, 84, 202);
/* oklch */ color: oklch(49.0% 0.190 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c83db',
    500: '#2654ca',
    950: '#000000',
  },
}
SCSS
$custom: #2654ca;
$custom-light: #7c83db;
$custom-dark: #000000;
JSON
{
  "hex": "#2654ca",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 223.171,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.19038,
    "h": 264.2
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#2654CA
secondary
#D1B97B
accent
#BA3DEB
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2654CA

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

Preview Lab → · Contrast checker → · Palette generator →

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