#245BB3#245BB3

#245BB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.152 H 259.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#245BB3
RGBrgb(36, 91, 179)
HSLhsl(217, 67%, 42%)
HSVhsv(217, 80%, 70%)
CMYKcmyk(79.9%, 49.2%, 0%, 29.8%)
CIE-LABlab(39.77, 14.59, -51.85)
CIE-LCHlch(39.77, 53.86, 285.72°)
OKLaboklab(48.54% -0.0274 -0.1491)
OKLCHoklch(48.54% 0.152 259.6)
XYZxyz(12.6024, 11.1104, 44.1194)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245BB3 #B37C24
analogous
#24A3B3 #245BB3 #3424B3
triadic
#245BB3 #B3245B #5BB324
tetradic
#245BB3 #B324A3 #B37C24 #24B334
square
#245BB3 #B324A3 #B37C24 #24B334
split-complementary
#245BB3 #B33424 #A3B324
monochromatic
#10274D #1A4180 #245BB3 #3C78D8 #6F9BE2

Accessibility & contrast

On white

6.52
#245BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#245BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245BB3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245BB3#FFFFFF#000000##FFFFFF
##245BB31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #245bb3;
/* rgb */ color: rgb(36, 91, 179);
/* oklch */ color: oklch(48.5% 0.152 259.6);
Tailwind
colors: {
  custom: {
    50: '#7688ca',
    500: '#245bb3',
    950: '#000000',
  },
}
SCSS
$custom: #245bb3;
$custom-light: #7688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#245bb3",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 216.923,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.1516,
    "h": 259.6
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#245BB3
secondary
#C9A46A
accent
#A83EE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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