#2A5D9F#2A5D9F

#2A5D9F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.8% C 0.120 H 256.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2A5D9F
RGBrgb(42, 93, 159)
HSLhsl(214, 58%, 39%)
HSVhsv(214, 74%, 62%)
CMYKcmyk(73.6%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.28, 6.30, -40.77)
CIE-LCHlch(39.28, 41.25, 278.79°)
OKLaboklab(47.81% -0.0289 -0.1164)
OKLCHoklch(47.81% 0.12 256.1)
XYZxyz(11.1249, 10.8229, 34.2969)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D9F #9F6C2A
analogous
#2A989F #2A5D9F #312A9F
triadic
#2A5D9F #9F2A5D #5D9F2A
tetradic
#2A5D9F #9F2A98 #9F6C2A #2A9F31
square
#2A5D9F #9F2A98 #9F6C2A #2A9F31
split-complementary
#2A5D9F #9F312A #989F2A
monochromatic
#10243E #1D416F #2A5D9F #3B7ACB #6B9BD8

Accessibility & contrast

On white

6.64
#2A5D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A5D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D9F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D9F#FFFFFF#000000##FFFFFF
##2A5D9F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A2
Deuteranopia (green-blind)
#2B589E
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5d9f;
/* rgb */ color: rgb(42, 93, 159);
/* oklch */ color: oklch(47.8% 0.120 256.1);
Tailwind
colors: {
  custom: {
    50: '#738abc',
    500: '#2a5d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d9f;
$custom-light: #738abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d9f",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 213.846,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.11993,
    "h": 256.1
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#2A5D9F
secondary
#BF9866
accent
#9E46E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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