#2A5F94#2A5F94

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

Color values

HEX#2A5F94
RGBrgb(42, 95, 148)
HSLhsl(210, 56%, 37%)
HSVhsv(210, 72%, 58%)
CMYKcmyk(71.6%, 35.8%, 0%, 42%)
CIE-LABlab(39.26, 0.86, -34.20)
CIE-LCHlch(39.26, 34.22, 271.45°)
OKLaboklab(47.6% -0.0337 -0.0971)
OKLCHoklch(47.6% 0.103 250.9)
XYZxyz(10.3904, 10.8137, 29.5509)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F94 #945F2A
analogous
#2A9494 #2A5F94 #2A2A94
triadic
#2A5F94 #942A5F #5F942A
tetradic
#2A5F94 #942A94 #945F2A #2A942A
square
#2A5F94 #942A94 #945F2A #2A942A
split-complementary
#2A5F94 #942A2A #94942A
monochromatic
#0F2235 #1C4064 #2A5F94 #387EC4 #659CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5F94#FFFFFF#000000##FFFFFF
##2A5F941.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)
#476296
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5f94;
/* rgb */ color: rgb(42, 95, 148);
/* oklch */ color: oklch(47.6% 0.103 250.9);
Tailwind
colors: {
  custom: {
    50: '#718cb3',
    500: '#2a5f94',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f94;
$custom-light: #718cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f94",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 210,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.10282,
    "h": 250.9
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#2A5F94
secondary
#B98D60
accent
#9449DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #2A5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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