#245AC3#245AC3

#245AC3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.174 H 261.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#245AC3
RGBrgb(36, 90, 195)
HSLhsl(220, 69%, 45%)
HSVhsv(220, 82%, 76%)
CMYKcmyk(81.5%, 53.8%, 0%, 23.5%)
CIE-LABlab(40.62, 21.47, -59.83)
CIE-LCHlch(40.62, 63.56, 289.74°)
OKLaboklab(49.55% -0.0247 -0.1726)
OKLCHoklch(49.55% 0.174 261.9)
XYZxyz(14.2305, 11.6258, 53.1132)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AC3 #C38D24
analogous
#24A9C3 #245AC3 #3E24C3
triadic
#245AC3 #C3245A #5AC324
tetradic
#245AC3 #C324A9 #C38D24 #24C33E
square
#245AC3 #C324A9 #C38D24 #24C33E
split-complementary
#245AC3 #C33E24 #A9C324
monochromatic
#112A5C #1A428F #245AC3 #477ADD #7B9FE7

Accessibility & contrast

On white

6.31
#245AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#245AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AC3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AC3#FFFFFF#000000##FFFFFF
##245AC31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #245ac3;
/* rgb */ color: rgb(36, 90, 195);
/* oklch */ color: oklch(49.5% 0.174 261.9);
Tailwind
colors: {
  custom: {
    50: '#7988d6',
    500: '#245ac3',
    950: '#000000',
  },
}
SCSS
$custom: #245ac3;
$custom-light: #7988d6;
$custom-dark: #000000;
JSON
{
  "hex": "#245ac3",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 219.623,
    "s": 68.831,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.17435,
    "h": 261.9
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#245AC3
secondary
#CEB074
accent
#B03CEC
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #245AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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