#245BA9#245BA9

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

Color values

HEX#245BA9
RGBrgb(36, 91, 169)
HSLhsl(215, 65%, 40%)
HSVhsv(215, 79%, 66%)
CMYKcmyk(78.7%, 46.2%, 0%, 33.7%)
CIE-LABlab(39.11, 10.69, -47.01)
CIE-LCHlch(39.11, 48.21, 282.81°)
OKLaboklab(47.82% -0.029 -0.1349)
OKLCHoklch(47.82% 0.138 257.9)
XYZxyz(11.6274, 10.7204, 38.9849)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245BA9 #A97224
analogous
#249DA9 #245BA9 #3024A9
triadic
#245BA9 #A9245B #5BA924
tetradic
#245BA9 #A9249D #A97224 #24A930
square
#245BA9 #A9249D #A97224 #24A930
split-complementary
#245BA9 #A93024 #9DA924
monochromatic
#0F2544 #194077 #245BA9 #3677D4 #6899DF

Accessibility & contrast

On white

6.68
#245BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #245BA9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245BA9#FFFFFF#000000##FFFFFF
##245BA91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#1256A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245ba9;
/* rgb */ color: rgb(36, 91, 169);
/* oklch */ color: oklch(47.8% 0.138 257.9);
Tailwind
colors: {
  custom: {
    50: '#7388c3',
    500: '#245ba9',
    950: '#000000',
  },
}
SCSS
$custom: #245ba9;
$custom-light: #7388c3;
$custom-dark: #000000;
JSON
{
  "hex": "#245ba9",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 215.188,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.13795,
    "h": 257.9
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#245BA9
secondary
#C59D64
accent
#A240E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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