#2B70AB#2B70AB

#2B70AB is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.1% C 0.115 H 248.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B70AB
RGBrgb(43, 112, 171)
HSLhsl(208, 60%, 42%)
HSVhsv(208, 75%, 67%)
CMYKcmyk(74.9%, 34.5%, 0%, 32.9%)
CIE-LABlab(45.69, -0.98, -37.68)
CIE-LCHlch(45.69, 37.70, 268.51°)
OKLaboklab(53.05% -0.0433 -0.107)
OKLCHoklch(53.05% 0.115 248)
XYZxyz(14.1383, 15.0406, 40.6782)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B70AB #AB662B
analogous
#2BABA6 #2B70AB #2B30AB
triadic
#2B70AB #AB2B70 #70AB2B
tetradic
#2B70AB #A62BAB #AB662B #30AB2B
square
#2B70AB #A62BAB #AB662B #30AB2B
split-complementary
#2B70AB #AB2B30 #ABA62B
monochromatic
#123049 #1F507A #2B70AB #438FD0 #74ACDC

Accessibility & contrast

On white

5.24
#2B70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B70AB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B70AB#FFFFFF#000000##FFFFFF
##2B70AB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b70ab;
/* rgb */ color: rgb(43, 112, 171);
/* oklch */ color: oklch(53.1% 0.115 248.0);
Tailwind
colors: {
  custom: {
    50: '#7698c4',
    500: '#2b70ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b70ab;
$custom-light: #7698c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b70ab",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 207.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.11549,
    "h": 248
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#2B70AB
secondary
#C4966E
accent
#8E45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2B70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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