#2D6FAC#2D6FAC

#2D6FAC is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.117 H 249.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2D6FAC
RGBrgb(45, 111, 172)
HSLhsl(209, 59%, 43%)
HSVhsv(209, 74%, 67%)
CMYKcmyk(73.8%, 35.5%, 0%, 32.5%)
CIE-LABlab(45.50, 0.28, -38.56)
CIE-LCHlch(45.50, 38.56, 270.41°)
OKLaboklab(52.94% -0.0409 -0.1096)
OKLCHoklch(52.94% 0.117 249.5)
XYZxyz(14.2102, 14.9037, 41.1495)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FAC #AC6A2D
analogous
#2DACA9 #2D6FAC #2D30AC
triadic
#2D6FAC #AC2D6F #6FAC2D
tetradic
#2D6FAC #A92DAC #AC6A2D #30AC2D
square
#2D6FAC #A92DAC #AC6A2D #30AC2D
split-complementary
#2D6FAC #AC2D30 #ACA92D
monochromatic
#14304B #20507B #2D6FAC #478ECF #78ACDC

Accessibility & contrast

On white

5.28
#2D6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D6FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FAC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FAC#FFFFFF#000000##FFFFFF
##2D6FAC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#4166AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6fac;
/* rgb */ color: rgb(45, 111, 172);
/* oklch */ color: oklch(52.9% 0.117 249.5);
Tailwind
colors: {
  custom: {
    50: '#7798c5',
    500: '#2d6fac',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fac;
$custom-light: #7798c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fac",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 208.819,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.11699,
    "h": 249.5
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#2D6FAC
secondary
#C49971
accent
#9146E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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