#2A6FBA#2A6FBA

#2A6FBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.136 H 253.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A6FBA
RGBrgb(42, 111, 186)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 77%, 73%)
CMYKcmyk(77.4%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.18, 5.13, -45.64)
CIE-LCHlch(46.18, 45.92, 276.42°)
OKLaboklab(53.7% -0.0391 -0.1304)
OKLCHoklch(53.7% 0.136 253.3)
XYZxyz(15.4989, 15.4045, 48.6014)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FBA #BA752A
analogous
#2AB7BA #2A6FBA #2D2ABA
triadic
#2A6FBA #BA2A6F #6FBA2A
tetradic
#2A6FBA #BA2AB7 #BA752A #2ABA2D
square
#2A6FBA #BA2AB7 #BA752A #2ABA2D
split-complementary
#2A6FBA #BA2D2A #B7BA2A
monochromatic
#133356 #1F5188 #2A6FBA #4B8ED6 #7DADE2

Accessibility & contrast

On white

5.15
#2A6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A6FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FBA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FBA#FFFFFF#000000##FFFFFF
##2A6FBA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6fba;
/* rgb */ color: rgb(42, 111, 186);
/* oklch */ color: oklch(53.7% 0.136 253.3);
Tailwind
colors: {
  custom: {
    50: '#7997cf',
    500: '#2a6fba',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fba;
$custom-light: #7997cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fba",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 211.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.13612,
    "h": 253.3
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#2A6FBA
secondary
#CAA276
accent
#9742E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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