#245DBB#245DBB

#245DBB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.160 H 260.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#245DBB
RGBrgb(36, 93, 187)
HSLhsl(217, 68%, 44%)
HSVhsv(217, 81%, 73%)
CMYKcmyk(80.7%, 50.3%, 0%, 26.7%)
CIE-LABlab(40.88, 16.40, -54.74)
CIE-LCHlch(40.88, 57.14, 286.68°)
OKLaboklab(49.57% -0.0277 -0.1576)
OKLCHoklch(49.57% 0.16 260)
XYZxyz(13.6083, 11.7900, 48.5626)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245DBB #BB8224
analogous
#24A8BB #245DBB #3624BB
triadic
#245DBB #BB245D #5DBB24
tetradic
#245DBB #BB24A8 #BB8224 #24BB36
square
#245DBB #BB24A8 #BB8224 #24BB36
split-complementary
#245DBB #BB3624 #A8BB24
monochromatic
#102A54 #1A4388 #245DBB #427BDB #759FE4

Accessibility & contrast

On white

6.25
#245DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#245DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245DBB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245DBB#FFFFFF#000000##FFFFFF
##245DBB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #245dbb;
/* rgb */ color: rgb(36, 93, 187);
/* oklch */ color: oklch(49.6% 0.160 260.0);
Tailwind
colors: {
  custom: {
    50: '#778ad0',
    500: '#245dbb',
    950: '#000000',
  },
}
SCSS
$custom: #245dbb;
$custom-light: #778ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#245dbb",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 217.351,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.15999,
    "h": 260
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#245DBB
secondary
#CCA96F
accent
#A93DEB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #245DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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