#2B64A8#2B64A8

#2B64A8 is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.1% C 0.124 H 254.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2B64A8
RGBrgb(43, 100, 168)
HSLhsl(213, 59%, 41%)
HSVhsv(213, 74%, 66%)
CMYKcmyk(74.4%, 40.5%, 0%, 34.1%)
CIE-LABlab(41.93, 5.38, -41.89)
CIE-LCHlch(41.93, 42.23, 277.32°)
OKLaboklab(50.05% -0.0327 -0.1196)
OKLCHoklch(50.05% 0.124 254.7)
XYZxyz(12.6187, 12.4537, 38.7770)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64A8 #A86F2B
analogous
#2BA3A8 #2B64A8 #312BA8
triadic
#2B64A8 #A82B64 #64A82B
tetradic
#2B64A8 #A82BA3 #A86F2B #2BA831
square
#2B64A8 #A82BA3 #A86F2B #2BA831
split-complementary
#2B64A8 #A8312B #A3A82B
monochromatic
#122A47 #1F4777 #2B64A8 #4282CF #72A2DB

Accessibility & contrast

On white

6.02
#2B64A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B64A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64A8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64A8#FFFFFF#000000##FFFFFF
##2B64A81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b64a8;
/* rgb */ color: rgb(43, 100, 168);
/* oklch */ color: oklch(50.1% 0.124 254.7);
Tailwind
colors: {
  custom: {
    50: '#758fc2',
    500: '#2b64a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b64a8;
$custom-light: #758fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64a8",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 168
  },
  "hsl": {
    "h": 212.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.12396,
    "h": 254.7
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#2B64A8
secondary
#C29B6C
accent
#9B45E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2B64A8

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

Preview Lab → · Contrast checker → · Palette generator →

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