#245CBB#245CBB

#245CBB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.161 H 260.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#245CBB
RGBrgb(36, 92, 187)
HSLhsl(218, 68%, 44%)
HSVhsv(218, 81%, 73%)
CMYKcmyk(80.7%, 50.8%, 0%, 26.7%)
CIE-LABlab(40.60, 17.05, -55.19)
CIE-LCHlch(40.60, 57.77, 287.17°)
OKLaboklab(49.35% -0.027 -0.1589)
OKLCHoklch(49.35% 0.161 260.4)
XYZxyz(13.5211, 11.6156, 48.5335)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245CBB #BB8324
analogous
#24A7BB #245CBB #3724BB
triadic
#245CBB #BB245C #5CBB24
tetradic
#245CBB #BB24A7 #BB8324 #24BB37
square
#245CBB #BB24A7 #BB8324 #24BB37
split-complementary
#245CBB #BB3724 #A7BB24
monochromatic
#102A54 #1A4388 #245CBB #427ADB #759EE4

Accessibility & contrast

On white

6.32
#245CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#245CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245CBB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245CBB#FFFFFF#000000##FFFFFF
##245CBB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #245cbb;
/* rgb */ color: rgb(36, 92, 187);
/* oklch */ color: oklch(49.4% 0.161 260.4);
Tailwind
colors: {
  custom: {
    50: '#7789d0',
    500: '#245cbb',
    950: '#000000',
  },
}
SCSS
$custom: #245cbb;
$custom-light: #7789d0;
$custom-dark: #000000;
JSON
{
  "hex": "#245cbb",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 217.748,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.16121,
    "h": 260.4
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#245CBB
secondary
#CCA96F
accent
#AA3DEB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #245CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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