#2261BB#2261BB

#2261BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.156 H 258.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2261BB
RGBrgb(34, 97, 187)
HSLhsl(215, 69%, 43%)
HSVhsv(215, 82%, 73%)
CMYKcmyk(81.8%, 48.1%, 0%, 26.7%)
CIE-LABlab(41.96, 13.60, -52.99)
CIE-LCHlch(41.96, 54.71, 284.39°)
OKLaboklab(50.38% -0.0319 -0.1524)
OKLCHoklch(50.38% 0.156 258.2)
XYZxyz(13.9007, 12.4756, 48.6795)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2261BB #BB7C22
analogous
#22ADBB #2261BB #2F22BB
triadic
#2261BB #BB2261 #61BB22
tetradic
#2261BB #BB22AD #BB7C22 #22BB2F
square
#2261BB #BB22AD #BB7C22 #22BB2F
split-complementary
#2261BB #BB2F22 #ADBB22
monochromatic
#0F2B53 #194687 #2261BB #3E7FDC #72A2E5

Accessibility & contrast

On white

6.01
#2261BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2261BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2261BB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2261BB#FFFFFF#000000##FFFFFF
##2261BB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2261bb;
/* rgb */ color: rgb(34, 97, 187);
/* oklch */ color: oklch(50.4% 0.156 258.2);
Tailwind
colors: {
  custom: {
    50: '#778dd0',
    500: '#2261bb',
    950: '#000000',
  },
}
SCSS
$custom: #2261bb;
$custom-light: #778dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2261bb",
  "rgb": {
    "r": 34,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 215.294,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.15568,
    "h": 258.2
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#2261BB
secondary
#CCA56D
accent
#A33CEC
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2261BB

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

Preview Lab → · Contrast checker → · Palette generator →

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