#2270BB#2270BB

#2270BB is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.139 H 251.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2270BB
RGBrgb(34, 112, 187)
HSLhsl(209, 69%, 43%)
HSVhsv(209, 82%, 73%)
CMYKcmyk(81.8%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.33, 4.03, -45.99)
CIE-LCHlch(46.33, 46.17, 275.01°)
OKLaboklab(53.77% -0.0439 -0.1315)
OKLCHoklch(53.77% 0.139 251.5)
XYZxyz(15.4201, 15.5144, 49.1859)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2270BB #BB6D22
analogous
#22BBB9 #2270BB #2223BB
triadic
#2270BB #BB2270 #70BB22
tetradic
#2270BB #B922BB #BB6D22 #23BB22
square
#2270BB #B922BB #BB6D22 #23BB22
split-complementary
#2270BB #BB2223 #BBB922
monochromatic
#0F3253 #195187 #2270BB #3E8FDC #72ADE5

Accessibility & contrast

On white

5.12
#2270BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2270BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2270BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2270BB#FFFFFF#000000##FFFFFF
##2270BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#3267BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2270bb;
/* rgb */ color: rgb(34, 112, 187);
/* oklch */ color: oklch(53.8% 0.139 251.5);
Tailwind
colors: {
  custom: {
    50: '#7698d0',
    500: '#2270bb',
    950: '#000000',
  },
}
SCSS
$custom: #2270bb;
$custom-light: #7698d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2270bb",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 209.412,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.13862,
    "h": 251.5
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#2270BB
secondary
#CC9B6D
accent
#923CEC
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2270BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2270BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva