#2A65AC#2A65AC

#2A65AC is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.5% C 0.129 H 254.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A65AC
RGBrgb(42, 101, 172)
HSLhsl(213, 61%, 42%)
HSVhsv(213, 76%, 67%)
CMYKcmyk(75.6%, 41.3%, 0%, 32.5%)
CIE-LABlab(42.42, 6.13, -43.46)
CIE-LCHlch(42.42, 43.89, 278.03°)
OKLaboklab(50.51% -0.0334 -0.1241)
OKLCHoklch(50.51% 0.129 254.9)
XYZxyz(13.0522, 12.7767, 40.8000)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A65AC #AC712A
analogous
#2AA6AC #2A65AC #302AAC
triadic
#2A65AC #AC2A65 #65AC2A
tetradic
#2A65AC #AC2AA6 #AC712A #2AAC30
square
#2A65AC #AC2AA6 #AC712A #2AAC30
split-complementary
#2A65AC #AC302A #A6AC2A
monochromatic
#122B4A #1E487B #2A65AC #4283D1 #73A3DD

Accessibility & contrast

On white

5.91
#2A65AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2A65AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A65AC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A65AC#FFFFFF#000000##FFFFFF
##2A65AC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a65ac;
/* rgb */ color: rgb(42, 101, 172);
/* oklch */ color: oklch(50.5% 0.129 254.9);
Tailwind
colors: {
  custom: {
    50: '#7690c5',
    500: '#2a65ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a65ac;
$custom-light: #7690c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a65ac",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 212.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.12856,
    "h": 254.9
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#2A65AC
secondary
#C49D6D
accent
#9B44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A65AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2A65AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva