#2555CA#2555CA

#2555CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.189 H 263.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2555CA
RGBrgb(37, 85, 202)
HSLhsl(223, 69%, 47%)
HSVhsv(223, 82%, 79%)
CMYKcmyk(81.7%, 57.9%, 0%, 20.8%)
CIE-LABlab(39.84, 27.52, -65.15)
CIE-LCHlch(39.84, 70.72, 292.90°)
OKLaboklab(49.14% -0.0203 -0.1883)
OKLCHoklch(49.14% 0.189 263.8)
XYZxyz(14.6683, 11.1528, 57.2453)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555CA #CA9A25
analogous
#25A8CA #2555CA #4725CA
triadic
#2555CA #CA2555 #55CA25
tetradic
#2555CA #CA25A8 #CA9A25 #25CA47
square
#2555CA #CA25A8 #CA9A25 #25CA47
split-complementary
#2555CA #CA4725 #A8CA25
monochromatic
#122963 #1C3F96 #2555CA #4E78DF #819FE8

Accessibility & contrast

On white

6.50
#2555CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2555CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555CA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555CA#FFFFFF#000000##FFFFFF
##2555CA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2555ca;
/* rgb */ color: rgb(37, 85, 202);
/* oklch */ color: oklch(49.1% 0.189 263.8);
Tailwind
colors: {
  custom: {
    50: '#7c84db',
    500: '#2555ca',
    950: '#000000',
  },
}
SCSS
$custom: #2555ca;
$custom-light: #7c84db;
$custom-dark: #000000;
JSON
{
  "hex": "#2555ca",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 222.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.18942,
    "h": 263.8
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#2555CA
secondary
#D1B87A
accent
#B93CEC
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2555CA

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

Preview Lab → · Contrast checker → · Palette generator →

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