#2255B3#2255B3

#2255B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.159 H 261.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2255B3
RGBrgb(34, 85, 179)
HSLhsl(219, 68%, 42%)
HSVhsv(219, 81%, 70%)
CMYKcmyk(81%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.00, 18.35, -54.70)
CIE-LCHlch(38.00, 57.69, 288.54°)
OKLaboklab(47.18% -0.0241 -0.1576)
OKLCHoklch(47.18% 0.159 261.3)
XYZxyz(12.0419, 10.0903, 43.9520)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255B3 #B38022
analogous
#229DB3 #2255B3 #3822B3
triadic
#2255B3 #B32255 #55B322
tetradic
#2255B3 #B3229D #B38022 #22B338
square
#2255B3 #B3229D #B38022 #22B338
split-complementary
#2255B3 #B33822 #9DB322
monochromatic
#0E244C #183D80 #2255B3 #3971D9 #6C96E3

Accessibility & contrast

On white

6.96
#2255B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2255B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2255B3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255B3#FFFFFF#000000##FFFFFF
##2255B31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2255b3;
/* rgb */ color: rgb(34, 85, 179);
/* oklch */ color: oklch(47.2% 0.159 261.3);
Tailwind
colors: {
  custom: {
    50: '#7584ca',
    500: '#2255b3',
    950: '#000000',
  },
}
SCSS
$custom: #2255b3;
$custom-light: #7584ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2255b3",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 218.897,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.15947,
    "h": 261.3
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#2255B3
secondary
#C9A768
accent
#AE3DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2255B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2255B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva