#2261BD#2261BD

#2261BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.158 H 258.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2261BD
RGBrgb(34, 97, 189)
HSLhsl(216, 70%, 44%)
HSVhsv(216, 82%, 74%)
CMYKcmyk(82%, 48.7%, 0%, 25.9%)
CIE-LABlab(42.10, 14.38, -53.94)
CIE-LCHlch(42.10, 55.83, 284.92°)
OKLaboklab(50.53% -0.0315 -0.1552)
OKLCHoklch(50.53% 0.158 258.5)
XYZxyz(14.1163, 12.5619, 49.8149)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2261BD #BD7E22
analogous
#22AEBD #2261BD #3022BD
triadic
#2261BD #BD2261 #61BD22
tetradic
#2261BD #BD22AE #BD7E22 #22BD30
square
#2261BD #BD22AE #BD7E22 #22BD30
split-complementary
#2261BD #BD3022 #AEBD22
monochromatic
#0F2C55 #194689 #2261BD #407FDD #73A2E6

Accessibility & contrast

On white

5.98
#2261BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2261BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2261BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2261BD#FFFFFF#000000##FFFFFF
##2261BD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2261bd;
/* rgb */ color: rgb(34, 97, 189);
/* oklch */ color: oklch(50.5% 0.158 258.5);
Tailwind
colors: {
  custom: {
    50: '#778dd1',
    500: '#2261bd',
    950: '#000000',
  },
}
SCSS
$custom: #2261bd;
$custom-light: #778dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2261bd",
  "rgb": {
    "r": 34,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 215.613,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.15835,
    "h": 258.5
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#2261BD
secondary
#CDA66E
accent
#A43BEC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2261BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2261BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva