#2555B3#2555B3

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

Color values

HEX#2555B3
RGBrgb(37, 85, 179)
HSLhsl(220, 66%, 42%)
HSVhsv(220, 79%, 70%)
CMYKcmyk(79.3%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.10, 18.66, -54.54)
CIE-LCHlch(38.10, 57.64, 288.88°)
OKLaboklab(47.28% -0.0221 -0.1571)
OKLCHoklch(47.28% 0.159 262)
XYZxyz(12.1452, 10.1436, 43.9569)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555B3 #B38325
analogous
#259CB3 #2555B3 #3C25B3
triadic
#2555B3 #B32555 #55B325
tetradic
#2555B3 #B3259C #B38325 #25B33C
square
#2555B3 #B3259C #B38325 #25B33C
split-complementary
#2555B3 #B33C25 #9CB325
monochromatic
#10254E #1B3D80 #2555B3 #3E72D7 #7197E2

Accessibility & contrast

On white

6.93
#2555B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2555B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555B3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555B3#FFFFFF#000000##FFFFFF
##2555B31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2555b3;
/* rgb */ color: rgb(37, 85, 179);
/* oklch */ color: oklch(47.3% 0.159 262.0);
Tailwind
colors: {
  custom: {
    50: '#7684ca',
    500: '#2555b3',
    950: '#000000',
  },
}
SCSS
$custom: #2555b3;
$custom-light: #7684ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2555b3",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 219.718,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.15869,
    "h": 262
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#2555B3
secondary
#C8A96B
accent
#AF3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2555B3

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

Preview Lab → · Contrast checker → · Palette generator →

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