#245FBB#245FBB

#245FBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.158 H 259.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#245FBB
RGBrgb(36, 95, 187)
HSLhsl(217, 68%, 44%)
HSVhsv(217, 81%, 73%)
CMYKcmyk(80.7%, 49.2%, 0%, 26.7%)
CIE-LABlab(41.45, 15.09, -53.82)
CIE-LCHlch(41.45, 55.90, 285.66°)
OKLaboklab(50% -0.0292 -0.1548)
OKLCHoklch(50% 0.158 259.3)
XYZxyz(13.7861, 12.1457, 48.6218)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245FBB #BB8024
analogous
#24AABB #245FBB #3424BB
triadic
#245FBB #BB245F #5FBB24
tetradic
#245FBB #BB24AA #BB8024 #24BB34
square
#245FBB #BB24AA #BB8024 #24BB34
split-complementary
#245FBB #BB3424 #AABB24
monochromatic
#102B54 #1A4588 #245FBB #427DDB #75A1E4

Accessibility & contrast

On white

6.12
#245FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#245FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245FBB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245FBB#FFFFFF#000000##FFFFFF
##245FBB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #245fbb;
/* rgb */ color: rgb(36, 95, 187);
/* oklch */ color: oklch(50.0% 0.158 259.3);
Tailwind
colors: {
  custom: {
    50: '#778bd0',
    500: '#245fbb',
    950: '#000000',
  },
}
SCSS
$custom: #245fbb;
$custom-light: #778bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#245fbb",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 216.556,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.15757,
    "h": 259.3
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#245FBB
secondary
#CCA86F
accent
#A73DEB
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #245FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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