#2A486F#2A486F

#2A486F is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.076 H 255.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2A486F
RGBrgb(42, 72, 111)
HSLhsl(214, 45%, 30%)
HSVhsv(214, 62%, 44%)
CMYKcmyk(62.2%, 35.1%, 0%, 56.5%)
CIE-LABlab(30.09, 1.95, -25.90)
CIE-LCHlch(30.09, 25.97, 274.30°)
OKLaboklab(39.77% -0.0188 -0.0732)
OKLCHoklch(39.77% 0.076 255.6)
XYZxyz(6.1404, 6.2741, 15.9233)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A486F #6F512A
analogous
#2A6B6F #2A486F #2E2A6F
triadic
#2A486F #6F2A48 #486F2A
tetradic
#2A486F #6F2A6B #6F512A #2A6F2E
square
#2A486F #6F2A6B #6F512A #2A6F2E
split-complementary
#2A486F #6F2E2A #6B6F2A
monochromatic
#080E16 #192B43 #2A486F #3B659B #5583BF

Accessibility & contrast

On white

9.31
#2A486F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A486F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A486F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A486F#FFFFFF#000000##FFFFFF
##2A486F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A71
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a486f;
/* rgb */ color: rgb(42, 72, 111);
/* oklch */ color: oklch(39.8% 0.076 255.6);
Tailwind
colors: {
  custom: {
    50: '#6a7a98',
    500: '#2a486f',
    950: '#000000',
  },
}
SCSS
$custom: #2a486f;
$custom-light: #6a7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a486f",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 213.913,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.07556,
    "h": 255.6
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#2A486F
secondary
#A17F54
accent
#9C53D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2A486F

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

Preview Lab → · Contrast checker → · Palette generator →

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