#245AAD#245AAD

#245AAD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.145 H 259.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#245AAD
RGBrgb(36, 90, 173)
HSLhsl(216, 66%, 41%)
HSVhsv(216, 79%, 68%)
CMYKcmyk(79.2%, 48%, 0%, 32.2%)
CIE-LABlab(39.08, 12.90, -49.42)
CIE-LCHlch(39.08, 51.08, 284.63°)
OKLaboklab(47.88% -0.0275 -0.142)
OKLCHoklch(47.88% 0.145 259)
XYZxyz(11.9238, 10.7031, 40.9645)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AAD #AD7724
analogous
#249EAD #245AAD #3224AD
triadic
#245AAD #AD245A #5AAD24
tetradic
#245AAD #AD249E #AD7724 #24AD32
square
#245AAD #AD249E #AD7724 #24AD32
split-complementary
#245AAD #AD3224 #9EAD24
monochromatic
#0F2548 #19407A #245AAD #3976D6 #6B99E0

Accessibility & contrast

On white

6.69
#245AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#245AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AAD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AAD#FFFFFF#000000##FFFFFF
##245AAD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245aad;
/* rgb */ color: rgb(36, 90, 173);
/* oklch */ color: oklch(47.9% 0.145 259.0);
Tailwind
colors: {
  custom: {
    50: '#7488c6',
    500: '#245aad',
    950: '#000000',
  },
}
SCSS
$custom: #245aad;
$custom-light: #7488c6;
$custom-dark: #000000;
JSON
{
  "hex": "#245aad",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 216.35,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.14463,
    "h": 259
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#245AAD
secondary
#C6A166
accent
#A63FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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