#2D65AB#2D65AB

#2D65AB is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.5% C 0.126 H 255.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2D65AB
RGBrgb(45, 101, 171)
HSLhsl(213, 58%, 42%)
HSVhsv(213, 74%, 67%)
CMYKcmyk(73.7%, 40.9%, 0%, 32.9%)
CIE-LABlab(42.47, 6.16, -42.79)
CIE-LCHlch(42.47, 43.24, 278.19°)
OKLaboklab(50.55% -0.0316 -0.1222)
OKLCHoklch(50.55% 0.126 255.5)
XYZxyz(13.0838, 12.8041, 40.3021)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D65AB #AB732D
analogous
#2DA4AB #2D65AB #342DAB
triadic
#2D65AB #AB2D65 #65AB2D
tetradic
#2D65AB #AB2DA4 #AB732D #2DAB34
square
#2D65AB #AB2DA4 #AB732D #2DAB34
split-complementary
#2D65AB #AB342D #A4AB2D
monochromatic
#142C4A #20487B #2D65AB #4783CE #77A4DB

Accessibility & contrast

On white

5.90
#2D65AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D65AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D65AB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D65AB#FFFFFF#000000##FFFFFF
##2D65AB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d65ab;
/* rgb */ color: rgb(45, 101, 171);
/* oklch */ color: oklch(50.5% 0.126 255.5);
Tailwind
colors: {
  custom: {
    50: '#7790c4',
    500: '#2d65ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d65ab;
$custom-light: #7790c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d65ab",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 171
  },
  "hsl": {
    "h": 213.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.1262,
    "h": 255.5
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#2D65AB
secondary
#C39E71
accent
#9D46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D65AB

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

Preview Lab → · Contrast checker → · Palette generator →

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