#245AAF#245AAF

#245AAF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.147 H 259.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#245AAF
RGBrgb(36, 90, 175)
HSLhsl(217, 66%, 41%)
HSVhsv(217, 79%, 69%)
CMYKcmyk(79.4%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.21, 13.69, -50.39)
CIE-LCHlch(39.21, 52.22, 285.20°)
OKLaboklab(48.03% -0.0272 -0.1448)
OKLCHoklch(48.03% 0.147 259.4)
XYZxyz(12.1188, 10.7811, 41.9914)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AAF #AF7924
analogous
#24A0AF #245AAF #3424AF
triadic
#245AAF #AF245A #5AAF24
tetradic
#245AAF #AF24A0 #AF7924 #24AF34
square
#245AAF #AF24A0 #AF7924 #24AF34
split-complementary
#245AAF #AF3424 #A0AF24
monochromatic
#0F2649 #1A407C #245AAF #3A77D6 #6D9AE1

Accessibility & contrast

On white

6.65
#245AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#245AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AAF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AAF#FFFFFF#000000##FFFFFF
##245AAF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245aaf;
/* rgb */ color: rgb(36, 90, 175);
/* oklch */ color: oklch(48.0% 0.147 259.4);
Tailwind
colors: {
  custom: {
    50: '#7588c7',
    500: '#245aaf',
    950: '#000000',
  },
}
SCSS
$custom: #245aaf;
$custom-light: #7588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#245aaf",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 216.691,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.14736,
    "h": 259.4
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#245AAF
secondary
#C7A268
accent
#A73FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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