#2262BD#2262BD

#2262BD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.157 H 258.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2262BD
RGBrgb(34, 98, 189)
HSLhsl(215, 70%, 44%)
HSVhsv(215, 82%, 74%)
CMYKcmyk(82%, 48.1%, 0%, 25.9%)
CIE-LABlab(42.38, 13.73, -53.49)
CIE-LCHlch(42.38, 55.22, 284.39°)
OKLaboklab(50.75% -0.0323 -0.1538)
OKLCHoklch(50.75% 0.157 258.1)
XYZxyz(14.2093, 12.7478, 49.8459)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2262BD #BD7D22
analogous
#22AFBD #2262BD #2F22BD
triadic
#2262BD #BD2262 #62BD22
tetradic
#2262BD #BD22AF #BD7D22 #22BD2F
square
#2262BD #BD22AF #BD7D22 #22BD2F
split-complementary
#2262BD #BD2F22 #AFBD22
monochromatic
#0F2C55 #194789 #2262BD #4080DD #73A3E6

Accessibility & contrast

On white

5.92
#2262BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2262BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2262BD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2262BD#FFFFFF#000000##FFFFFF
##2262BD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2262bd;
/* rgb */ color: rgb(34, 98, 189);
/* oklch */ color: oklch(50.7% 0.157 258.1);
Tailwind
colors: {
  custom: {
    50: '#778ed1',
    500: '#2262bd',
    950: '#000000',
  },
}
SCSS
$custom: #2262bd;
$custom-light: #778ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2262bd",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 215.226,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.15716,
    "h": 258.1
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2262BD

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

Preview Lab → · Contrast checker → · Palette generator →

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