#2A61AF#2A61AF

#2A61AF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.8% C 0.137 H 257.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2A61AF
RGBrgb(42, 97, 175)
HSLhsl(215, 61%, 43%)
HSVhsv(215, 76%, 69%)
CMYKcmyk(76%, 44.6%, 0%, 31.4%)
CIE-LABlab(41.43, 9.84, -46.81)
CIE-LCHlch(41.43, 47.83, 281.87°)
OKLaboklab(49.79% -0.0292 -0.1341)
OKLCHoklch(49.79% 0.137 257.7)
XYZxyz(12.9646, 12.1353, 42.2082)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61AF #AF782A
analogous
#2AA3AF #2A61AF #362AAF
triadic
#2A61AF #AF2A61 #61AF2A
tetradic
#2A61AF #AF2AA3 #AF782A #2AAF36
square
#2A61AF #AF2AA3 #AF782A #2AAF36
split-complementary
#2A61AF #AF362A #A3AF2A
monochromatic
#122A4C #1E467E #2A61AF #447FD2 #75A1DE

Accessibility & contrast

On white

6.13
#2A61AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A61AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61AF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61AF#FFFFFF#000000##FFFFFF
##2A61AF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a61af;
/* rgb */ color: rgb(42, 97, 175);
/* oklch */ color: oklch(49.8% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#768dc7',
    500: '#2a61af',
    950: '#000000',
  },
}
SCSS
$custom: #2a61af;
$custom-light: #768dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61af",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 215.188,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.13723,
    "h": 257.7
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#2A61AF
secondary
#C6A26F
accent
#A243E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61AF

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

Preview Lab → · Contrast checker → · Palette generator →

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