#245CAC#245CAC

#245CAC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.141 H 258.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#245CAC
RGBrgb(36, 92, 172)
HSLhsl(215, 65%, 41%)
HSVhsv(215, 79%, 67%)
CMYKcmyk(79.1%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.59, 11.20, -48.00)
CIE-LCHlch(39.59, 49.29, 283.14°)
OKLaboklab(48.26% -0.0293 -0.1378)
OKLCHoklch(48.26% 0.141 258)
XYZxyz(11.9984, 11.0065, 40.5138)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245CAC #AC7424
analogous
#24A0AC #245CAC #3024AC
triadic
#245CAC #AC245C #5CAC24
tetradic
#245CAC #AC24A0 #AC7424 #24AC30
square
#245CAC #AC24A0 #AC7424 #24AC30
split-complementary
#245CAC #AC3024 #A0AC24
monochromatic
#0F2647 #194179 #245CAC #3879D5 #6A9BE0

Accessibility & contrast

On white

6.56
#245CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#245CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245CAC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245CAC#FFFFFF#000000##FFFFFF
##245CAC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#0E58AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245cac;
/* rgb */ color: rgb(36, 92, 172);
/* oklch */ color: oklch(48.3% 0.141 258.0);
Tailwind
colors: {
  custom: {
    50: '#7489c5',
    500: '#245cac',
    950: '#000000',
  },
}
SCSS
$custom: #245cac;
$custom-light: #7489c5;
$custom-dark: #000000;
JSON
{
  "hex": "#245cac",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 215.294,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.14086,
    "h": 258
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#245CAC
secondary
#C69E66
accent
#A33FE8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #245CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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