#245FFF#245FFF

#245FFF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.245 H 264.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#245FFF
RGBrgb(36, 95, 255)
HSLhsl(224, 100%, 57%)
HSVhsv(224, 86%, 100%)
CMYKcmyk(85.9%, 62.7%, 0%, 0%)
CIE-LABlab(46.68, 40.79, -83.99)
CIE-LCHlch(46.68, 93.37, 295.90°)
OKLaboklab(55.58% -0.0248 -0.2434)
OKLCHoklch(55.58% 0.245 264.2)
XYZxyz(22.8633, 15.7766, 96.4285)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245FFF #FFC424
analogous
#24CCFF #245FFF #5724FF
triadic
#245FFF #FF245F #5FFF24
tetradic
#245FFF #FF24CC #FFC424 #24FF57
square
#245FFF #FF24CC #FFC424 #24FF57
split-complementary
#245FFF #FF5724 #CCFF24
monochromatic
#002DA9 #003EE6 #245FFF #618CFF #9EB8FF

Accessibility & contrast

On white

5.05
#245FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#245FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245FFF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245FFF#FFFFFF#000000##FFFFFF
##245FFF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#008AA6
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #245fff;
/* rgb */ color: rgb(36, 95, 255);
/* oklch */ color: oklch(55.6% 0.245 264.2);
Tailwind
colors: {
  custom: {
    50: '#888cff',
    500: '#245fff',
    950: '#000000',
  },
}
SCSS
$custom: #245fff;
$custom-light: #888cff;
$custom-dark: #000000;
JSON
{
  "hex": "#245fff",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 223.836,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.24467,
    "h": 264.2
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#245FFF
secondary
#ECD493
accent
#C529FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C18
muted
#7E7D86

Preview Lab

Preview with #245FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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