#2A68C0#2A68C0

#2A68C0 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.5% C 0.152 H 257.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A68C0
RGBrgb(42, 104, 192)
HSLhsl(215, 64%, 46%)
HSVhsv(215, 78%, 75%)
CMYKcmyk(78.1%, 45.8%, 0%, 24.7%)
CIE-LABlab(44.51, 11.84, -51.78)
CIE-LCHlch(44.51, 53.12, 282.88°)
OKLaboklab(52.52% -0.0319 -0.1486)
OKLCHoklch(52.52% 0.152 257.9)
XYZxyz(15.4161, 14.1968, 51.7867)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A68C0 #C0822A
analogous
#2AB3C0 #2A68C0 #372AC0
triadic
#2A68C0 #C02A68 #68C02A
tetradic
#2A68C0 #C02AB3 #C0822A #2AC037
square
#2A68C0 #C02AB3 #C0822A #2AC037
split-complementary
#2A68C0 #C0372A #B3C02A
monochromatic
#14325C #1F4D8E #2A68C0 #4F88D8 #81AAE3

Accessibility & contrast

On white

5.47
#2A68C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A68C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A68C0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A68C0#FFFFFF#000000##FFFFFF
##2A68C01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#1563BE
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a68c0;
/* rgb */ color: rgb(42, 104, 192);
/* oklch */ color: oklch(52.5% 0.152 257.9);
Tailwind
colors: {
  custom: {
    50: '#7a92d3',
    500: '#2a68c0',
    950: '#000000',
  },
}
SCSS
$custom: #2a68c0;
$custom-light: #7a92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a68c0",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 192
  },
  "hsl": {
    "h": 215.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.15197,
    "h": 257.9
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#2A68C0
secondary
#CCAA7A
accent
#A241E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A68C0

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

Preview Lab → · Contrast checker → · Palette generator →

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