#245DC3#245DC3

#245DC3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.171 H 261.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#245DC3
RGBrgb(36, 93, 195)
HSLhsl(218, 69%, 45%)
HSVhsv(218, 82%, 76%)
CMYKcmyk(81.5%, 52.3%, 0%, 23.5%)
CIE-LABlab(41.44, 19.50, -58.49)
CIE-LCHlch(41.44, 61.65, 288.44°)
OKLaboklab(50.18% -0.0267 -0.1686)
OKLCHoklch(50.18% 0.171 261)
XYZxyz(14.4887, 12.1421, 53.1992)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245DC3 #C38A24
analogous
#24ACC3 #245DC3 #3B24C3
triadic
#245DC3 #C3245D #5DC324
tetradic
#245DC3 #C324AC #C38A24 #24C33B
square
#245DC3 #C324AC #C38A24 #24C33B
split-complementary
#245DC3 #C33B24 #ACC324
monochromatic
#112C5C #1A448F #245DC3 #477DDD #7BA1E7

Accessibility & contrast

On white

6.12
#245DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#245DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245DC3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245DC3#FFFFFF#000000##FFFFFF
##245DC31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #245dc3;
/* rgb */ color: rgb(36, 93, 195);
/* oklch */ color: oklch(50.2% 0.171 261.0);
Tailwind
colors: {
  custom: {
    50: '#798ad6',
    500: '#245dc3',
    950: '#000000',
  },
}
SCSS
$custom: #245dc3;
$custom-light: #798ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#245dc3",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 218.491,
    "s": 68.831,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.1707,
    "h": 261
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#245DC3
secondary
#CEAE74
accent
#AD3CEC
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #245DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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