#2F60A5#2F60A5

#2F60A5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.1% C 0.123 H 257.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F60A5
RGBrgb(47, 96, 165)
HSLhsl(215, 56%, 42%)
HSVhsv(215, 72%, 65%)
CMYKcmyk(71.5%, 41.8%, 0%, 35.3%)
CIE-LABlab(40.71, 7.39, -42.04)
CIE-LCHlch(40.71, 42.69, 279.96°)
OKLaboklab(49.09% -0.0268 -0.12)
OKLCHoklch(49.09% 0.123 257.4)
XYZxyz(12.1442, 11.6854, 37.2055)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F60A5 #A5742F
analogous
#2F9BA5 #2F60A5 #392FA5
triadic
#2F60A5 #A52F60 #60A52F
tetradic
#2F60A5 #A52F9B #A5742F #2FA539
square
#2F60A5 #A52F9B #A5742F #2FA539
split-complementary
#2F60A5 #A5392F #9BA52F
monochromatic
#142946 #214475 #2F60A5 #477DCB #769FD8

Accessibility & contrast

On white

6.29
#2F60A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2F60A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F60A5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F60A5#FFFFFF#000000##FFFFFF
##2F60A51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#00707A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f60a5;
/* rgb */ color: rgb(47, 96, 165);
/* oklch */ color: oklch(49.1% 0.123 257.4);
Tailwind
colors: {
  custom: {
    50: '#768cc0',
    500: '#2f60a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f60a5;
$custom-light: #768cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f60a5",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 165
  },
  "hsl": {
    "h": 215.085,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.12299,
    "h": 257.4
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#2F60A5
secondary
#C09F70
accent
#A149DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F60A5

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

Preview Lab → · Contrast checker → · Palette generator →

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