#245AAC#245AAC

#245AAC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.143 H 258.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#245AAC
RGBrgb(36, 90, 172)
HSLhsl(216, 65%, 41%)
HSVhsv(216, 79%, 67%)
CMYKcmyk(79.1%, 47.7%, 0%, 32.5%)
CIE-LABlab(39.01, 12.51, -48.94)
CIE-LCHlch(39.01, 50.51, 284.34°)
OKLaboklab(47.81% -0.0277 -0.1406)
OKLCHoklch(47.81% 0.143 258.9)
XYZxyz(11.8274, 10.6646, 40.4568)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AAC #AC7624
analogous
#249EAC #245AAC #3224AC
triadic
#245AAC #AC245A #5AAC24
tetradic
#245AAC #AC249E #AC7624 #24AC32
square
#245AAC #AC249E #AC7624 #24AC32
split-complementary
#245AAC #AC3224 #9EAC24
monochromatic
#0F2547 #194079 #245AAC #3876D5 #6A99E0

Accessibility & contrast

On white

6.70
#245AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#245AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AAC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AAC#FFFFFF#000000##FFFFFF
##245AAC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AF
Deuteranopia (green-blind)
#0156AA
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245aac;
/* rgb */ color: rgb(36, 90, 172);
/* oklch */ color: oklch(47.8% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#7488c5',
    500: '#245aac',
    950: '#000000',
  },
}
SCSS
$custom: #245aac;
$custom-light: #7488c5;
$custom-dark: #000000;
JSON
{
  "hex": "#245aac",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 216.176,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.14326,
    "h": 258.9
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#245AAC
secondary
#C6A066
accent
#A53FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #245AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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