#2A496F#2A496F

#2A496F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.074 H 254.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2A496F
RGBrgb(42, 73, 111)
HSLhsl(213, 45%, 30%)
HSVhsv(213, 62%, 44%)
CMYKcmyk(62.2%, 34.2%, 0%, 56.5%)
CIE-LABlab(30.41, 1.29, -25.40)
CIE-LCHlch(30.41, 25.43, 272.90°)
OKLaboklab(40.01% -0.02 -0.0717)
OKLCHoklch(40.01% 0.074 254.4)
XYZxyz(6.2056, 6.4045, 15.9450)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A496F #6F502A
analogous
#2A6C6F #2A496F #2D2A6F
triadic
#2A496F #6F2A49 #496F2A
tetradic
#2A496F #6F2A6C #6F502A #2A6F2D
square
#2A496F #6F2A6C #6F502A #2A6F2D
split-complementary
#2A496F #6F2D2A #6C6F2A
monochromatic
#080F16 #192C43 #2A496F #3B669B #5584BF

Accessibility & contrast

On white

9.21
#2A496F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A496F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A496F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A496F#FFFFFF#000000##FFFFFF
##2A496F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#30456E
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a496f;
/* rgb */ color: rgb(42, 73, 111);
/* oklch */ color: oklch(40.0% 0.074 254.4);
Tailwind
colors: {
  custom: {
    50: '#6a7b98',
    500: '#2a496f',
    950: '#000000',
  },
}
SCSS
$custom: #2a496f;
$custom-light: #6a7b98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a496f",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 111
  },
  "hsl": {
    "h": 213.043,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.07447,
    "h": 254.4
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#2A496F
secondary
#A17E54
accent
#9A53D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A496F

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

Preview Lab → · Contrast checker → · Palette generator →

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