#245CC3#245CC3

#245CC3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.172 H 261.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#245CC3
RGBrgb(36, 92, 195)
HSLhsl(219, 69%, 45%)
HSVhsv(219, 82%, 76%)
CMYKcmyk(81.5%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.16, 20.16, -58.93)
CIE-LCHlch(41.16, 62.29, 288.88°)
OKLaboklab(49.96% -0.026 -0.1699)
OKLCHoklch(49.96% 0.172 261.3)
XYZxyz(14.4015, 11.9677, 53.1702)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245CC3 #C38B24
analogous
#24ABC3 #245CC3 #3C24C3
triadic
#245CC3 #C3245C #5CC324
tetradic
#245CC3 #C324AB #C38B24 #24C33C
square
#245CC3 #C324AB #C38B24 #24C33C
split-complementary
#245CC3 #C33C24 #ABC324
monochromatic
#112B5C #1A448F #245CC3 #477CDD #7BA1E7

Accessibility & contrast

On white

6.19
#245CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#245CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245CC3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245CC3#FFFFFF#000000##FFFFFF
##245CC31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C69C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #245cc3;
/* rgb */ color: rgb(36, 92, 195);
/* oklch */ color: oklch(50.0% 0.172 261.3);
Tailwind
colors: {
  custom: {
    50: '#7989d6',
    500: '#245cc3',
    950: '#000000',
  },
}
SCSS
$custom: #245cc3;
$custom-light: #7989d6;
$custom-dark: #000000;
JSON
{
  "hex": "#245cc3",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 218.868,
    "s": 68.831,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.17192,
    "h": 261.3
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#245CC3
secondary
#CEAF74
accent
#AE3CEC
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #245CC3

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

Preview Lab → · Contrast checker → · Palette generator →

#245CC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva