#2A61B3#2A61B3

#2A61B3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.143 H 258.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A61B3
RGBrgb(42, 97, 179)
HSLhsl(216, 62%, 43%)
HSVhsv(216, 77%, 70%)
CMYKcmyk(76.5%, 45.8%, 0%, 29.8%)
CIE-LABlab(41.68, 11.37, -48.76)
CIE-LCHlch(41.68, 50.07, 283.12°)
OKLaboklab(50.07% -0.0284 -0.1398)
OKLCHoklch(50.07% 0.143 258.5)
XYZxyz(13.3632, 12.2948, 44.3079)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B3 #B37C2A
analogous
#2AA5B3 #2A61B3 #372AB3
triadic
#2A61B3 #B32A61 #61B32A
tetradic
#2A61B3 #B32AA5 #B37C2A #2AB337
square
#2A61B3 #B32AA5 #B37C2A #2AB337
split-complementary
#2A61B3 #B3372A #A5B32A
monochromatic
#132B50 #1E4681 #2A61B3 #467FD4 #78A2DF

Accessibility & contrast

On white

6.07
#2A61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A61B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B3#FFFFFF#000000##FFFFFF
##2A61B31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#175DB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a61b3;
/* rgb */ color: rgb(42, 97, 179);
/* oklch */ color: oklch(50.1% 0.143 258.5);
Tailwind
colors: {
  custom: {
    50: '#778dca',
    500: '#2a61b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b3;
$custom-light: #778dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b3",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 215.912,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.14267,
    "h": 258.5
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#2A61B3
secondary
#C7A572
accent
#A443E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61B3

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

Preview Lab → · Contrast checker → · Palette generator →

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