#245AB3#245AB3

#245AB3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.153 H 260.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#245AB3
RGBrgb(36, 90, 179)
HSLhsl(217, 67%, 42%)
HSVhsv(217, 80%, 70%)
CMYKcmyk(79.9%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.48, 15.25, -52.31)
CIE-LCHlch(39.48, 54.49, 286.25°)
OKLaboklab(48.32% -0.0266 -0.1505)
OKLCHoklch(48.32% 0.153 260)
XYZxyz(12.5174, 10.9406, 44.0911)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AB3 #B37D24
analogous
#24A2B3 #245AB3 #3624B3
triadic
#245AB3 #B3245A #5AB324
tetradic
#245AB3 #B324A2 #B37D24 #24B336
square
#245AB3 #B324A2 #B37D24 #24B336
split-complementary
#245AB3 #B33624 #A2B324
monochromatic
#10274D #1A4080 #245AB3 #3C77D8 #6F9BE2

Accessibility & contrast

On white

6.59
#245AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#245AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AB3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AB3#FFFFFF#000000##FFFFFF
##245AB31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245ab3;
/* rgb */ color: rgb(36, 90, 179);
/* oklch */ color: oklch(48.3% 0.153 260.0);
Tailwind
colors: {
  custom: {
    50: '#7688ca',
    500: '#245ab3',
    950: '#000000',
  },
}
SCSS
$custom: #245ab3;
$custom-light: #7688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#245ab3",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 217.343,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.15282,
    "h": 260
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#245AB3
secondary
#C9A56A
accent
#A93EE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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