#2A5E9E#2A5E9E

#2A5E9E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.117 H 255.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2A5E9E
RGBrgb(42, 94, 158)
HSLhsl(213, 58%, 39%)
HSVhsv(213, 73%, 62%)
CMYKcmyk(73.4%, 40.5%, 0%, 38%)
CIE-LABlab(39.52, 5.28, -39.79)
CIE-LCHlch(39.52, 40.14, 277.56°)
OKLaboklab(47.98% -0.0301 -0.1135)
OKLCHoklch(47.98% 0.117 255.2)
XYZxyz(11.1268, 10.9650, 33.8712)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E9E #9E6A2A
analogous
#2A989E #2A5E9E #302A9E
triadic
#2A5E9E #9E2A5E #5E9E2A
tetradic
#2A5E9E #9E2A98 #9E6A2A #2A9E30
square
#2A5E9E #9E2A98 #9E6A2A #2A9E30
split-complementary
#2A5E9E #9E302A #989E2A
monochromatic
#10243D #1D416E #2A5E9E #3A7BCB #6B9CD8

Accessibility & contrast

On white

6.58
#2A5E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A5E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E9E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E9E#FFFFFF#000000##FFFFFF
##2A5E9E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A1
Deuteranopia (green-blind)
#2E589D
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5e9e;
/* rgb */ color: rgb(42, 94, 158);
/* oklch */ color: oklch(48.0% 0.117 255.2);
Tailwind
colors: {
  custom: {
    50: '#738bbb',
    500: '#2a5e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e9e;
$custom-light: #738bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e9e",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 158
  },
  "hsl": {
    "h": 213.103,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.11743,
    "h": 255.2
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#2A5E9E
secondary
#BE9666
accent
#9C47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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