#3064A5#3064A5

#3064A5 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 50.1% C 0.118 H 255.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3064A5
RGBrgb(48, 100, 165)
HSLhsl(213, 55%, 42%)
HSVhsv(213, 71%, 65%)
CMYKcmyk(70.9%, 39.4%, 0%, 35.3%)
CIE-LABlab(41.94, 4.99, -40.09)
CIE-LCHlch(41.94, 40.40, 277.09°)
OKLaboklab(50.05% -0.03 -0.1142)
OKLCHoklch(50.05% 0.118 255.3)
XYZxyz(12.5651, 12.4580, 37.3324)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064A5 #A57130
analogous
#309FA5 #3064A5 #3630A5
triadic
#3064A5 #A53064 #64A530
tetradic
#3064A5 #A5309F #A57130 #30A536
square
#3064A5 #A5309F #A57130 #30A536
split-complementary
#3064A5 #A53630 #9FA530
monochromatic
#142B46 #224776 #3064A5 #4882CA #78A2D8

Accessibility & contrast

On white

6.01
#3064A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3064A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064A5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064A5#FFFFFF#000000##FFFFFF
##3064A51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3064a5;
/* rgb */ color: rgb(48, 100, 165);
/* oklch */ color: oklch(50.1% 0.118 255.3);
Tailwind
colors: {
  custom: {
    50: '#778fc0',
    500: '#3064a5',
    950: '#000000',
  },
}
SCSS
$custom: #3064a5;
$custom-light: #778fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3064a5",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 213.333,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.1181,
    "h": 255.3
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#3064A5
secondary
#C09D71
accent
#9C4ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3064A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3064A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva