#245AAA#245AAA

#245AAA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.141 H 258.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#245AAA
RGBrgb(36, 90, 170)
HSLhsl(216, 65%, 40%)
HSVhsv(216, 79%, 67%)
CMYKcmyk(78.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(38.88, 11.73, -47.97)
CIE-LCHlch(38.88, 49.38, 283.74°)
OKLaboklab(47.67% -0.028 -0.1377)
OKLCHoklch(47.67% 0.141 258.5)
XYZxyz(11.6368, 10.5883, 39.4529)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AAA #AA7424
analogous
#249DAA #245AAA #3124AA
triadic
#245AAA #AA245A #5AAA24
tetradic
#245AAA #AA249D #AA7424 #24AA31
square
#245AAA #AA249D #AA7424 #24AA31
split-complementary
#245AAA #AA3124 #9DAA24
monochromatic
#0F2545 #193F77 #245AAA #3776D5 #6999DF

Accessibility & contrast

On white

6.74
#245AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#245AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AAA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AAA#FFFFFF#000000##FFFFFF
##245AAA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#0956A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245aaa;
/* rgb */ color: rgb(36, 90, 170);
/* oklch */ color: oklch(47.7% 0.141 258.5);
Tailwind
colors: {
  custom: {
    50: '#7388c4',
    500: '#245aaa',
    950: '#000000',
  },
}
SCSS
$custom: #245aaa;
$custom-light: #7388c4;
$custom-dark: #000000;
JSON
{
  "hex": "#245aaa",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 215.821,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.14052,
    "h": 258.5
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#245AAA
secondary
#C59E65
accent
#A440E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #245AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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