#2555AF#2555AF

#2555AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.153 H 261.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2555AF
RGBrgb(37, 85, 175)
HSLhsl(219, 65%, 42%)
HSVhsv(219, 79%, 69%)
CMYKcmyk(78.9%, 51.4%, 0%, 31.4%)
CIE-LABlab(37.81, 17.10, -52.64)
CIE-LCHlch(37.81, 55.35, 287.99°)
OKLaboklab(46.97% -0.0226 -0.1515)
OKLCHoklch(46.97% 0.153 261.5)
XYZxyz(11.7465, 9.9841, 41.8572)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555AF #AF7F25
analogous
#259AAF #2555AF #3A25AF
triadic
#2555AF #AF2555 #55AF25
tetradic
#2555AF #AF259A #AF7F25 #25AF3A
square
#2555AF #AF259A #AF7F25 #25AF3A
split-complementary
#2555AF #AF3A25 #9AAF25
monochromatic
#10244A #1A3C7C #2555AF #3C71D6 #6E96E0

Accessibility & contrast

On white

7.01
#2555AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2555AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555AF#FFFFFF#000000##FFFFFF
##2555AF1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2555af;
/* rgb */ color: rgb(37, 85, 175);
/* oklch */ color: oklch(47.0% 0.153 261.5);
Tailwind
colors: {
  custom: {
    50: '#7584c7',
    500: '#2555af',
    950: '#000000',
  },
}
SCSS
$custom: #2555af;
$custom-light: #7584c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2555af",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 219.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.15322,
    "h": 261.5
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#2555AF
secondary
#C7A669
accent
#AE40E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2555AF

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

Preview Lab → · Contrast checker → · Palette generator →

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