#2262BB#2262BB

#2262BB is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.6% C 0.154 H 257.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2262BB
RGBrgb(34, 98, 187)
HSLhsl(215, 69%, 43%)
HSVhsv(215, 82%, 73%)
CMYKcmyk(81.8%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.25, 12.95, -52.53)
CIE-LCHlch(42.25, 54.10, 283.84°)
OKLaboklab(50.6% -0.0326 -0.151)
OKLCHoklch(50.6% 0.154 257.8)
XYZxyz(13.9937, 12.6616, 48.7105)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2262BB #BB7B22
analogous
#22AEBB #2262BB #2E22BB
triadic
#2262BB #BB2262 #62BB22
tetradic
#2262BB #BB22AE #BB7B22 #22BB2E
square
#2262BB #BB22AE #BB7B22 #22BB2E
split-complementary
#2262BB #BB2E22 #AEBB22
monochromatic
#0F2C53 #194787 #2262BB #3E80DC #72A2E5

Accessibility & contrast

On white

5.94
#2262BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2262BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2262BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2262BB#FFFFFF#000000##FFFFFF
##2262BB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2262bb;
/* rgb */ color: rgb(34, 98, 187);
/* oklch */ color: oklch(50.6% 0.154 257.8);
Tailwind
colors: {
  custom: {
    50: '#778ed0',
    500: '#2262bb',
    950: '#000000',
  },
}
SCSS
$custom: #2262bb;
$custom-light: #778ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2262bb",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 214.902,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.15449,
    "h": 257.8
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#2262BB
secondary
#CCA46D
accent
#A23CEC
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2262BB

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

Preview Lab → · Contrast checker → · Palette generator →

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