#245ABB#245ABB

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

Color values

HEX#245ABB
RGBrgb(36, 90, 187)
HSLhsl(219, 68%, 44%)
HSVhsv(219, 81%, 73%)
CMYKcmyk(80.7%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.04, 18.37, -56.10)
CIE-LCHlch(40.04, 59.03, 288.13°)
OKLaboklab(48.92% -0.0255 -0.1616)
OKLCHoklch(48.92% 0.164 261)
XYZxyz(13.3501, 11.2737, 48.4765)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245ABB #BB8524
analogous
#24A5BB #245ABB #3924BB
triadic
#245ABB #BB245A #5ABB24
tetradic
#245ABB #BB24A5 #BB8524 #24BB39
square
#245ABB #BB24A5 #BB8524 #24BB39
split-complementary
#245ABB #BB3924 #A5BB24
monochromatic
#102954 #1A4188 #245ABB #4278DB #759DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##245ABB#FFFFFF#000000##FFFFFF
##245ABB1.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)
#1766BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #245abb;
/* rgb */ color: rgb(36, 90, 187);
/* oklch */ color: oklch(48.9% 0.164 261.0);
Tailwind
colors: {
  custom: {
    50: '#7888d0',
    500: '#245abb',
    950: '#000000',
  },
}
SCSS
$custom: #245abb;
$custom-light: #7888d0;
$custom-dark: #000000;
JSON
{
  "hex": "#245abb",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 218.543,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.16364,
    "h": 261
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#245ABB
secondary
#CCAB6F
accent
#AD3DEB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #245ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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