#245CB3#245CB3

#245CB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.150 H 259.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#245CB3
RGBrgb(36, 92, 179)
HSLhsl(217, 67%, 42%)
HSVhsv(217, 80%, 70%)
CMYKcmyk(79.9%, 48.6%, 0%, 29.8%)
CIE-LABlab(40.05, 13.94, -51.39)
CIE-LCHlch(40.05, 53.24, 285.17°)
OKLaboklab(48.76% -0.0281 -0.1477)
OKLCHoklch(48.76% 0.15 259.2)
XYZxyz(12.6884, 11.2825, 44.1481)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245CB3 #B37B24
analogous
#24A4B3 #245CB3 #3324B3
triadic
#245CB3 #B3245C #5CB324
tetradic
#245CB3 #B324A4 #B37B24 #24B333
square
#245CB3 #B324A4 #B37B24 #24B333
split-complementary
#245CB3 #B33324 #A4B324
monochromatic
#10284D #1A4280 #245CB3 #3C79D8 #6F9CE2

Accessibility & contrast

On white

6.45
#245CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#245CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245CB3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245CB3#FFFFFF#000000##FFFFFF
##245CB31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #245cb3;
/* rgb */ color: rgb(36, 92, 179);
/* oklch */ color: oklch(48.8% 0.150 259.2);
Tailwind
colors: {
  custom: {
    50: '#7689ca',
    500: '#245cb3',
    950: '#000000',
  },
}
SCSS
$custom: #245cb3;
$custom-light: #7689ca;
$custom-dark: #000000;
JSON
{
  "hex": "#245cb3",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 216.503,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.15039,
    "h": 259.2
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#245CB3
secondary
#C9A46A
accent
#A63EE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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