#245DAF#245DAF

#245DAF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.144 H 258.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#245DAF
RGBrgb(36, 93, 175)
HSLhsl(215, 66%, 41%)
HSVhsv(215, 79%, 69%)
CMYKcmyk(79.4%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.08, 11.72, -48.99)
CIE-LCHlch(40.08, 50.38, 283.45°)
OKLaboklab(48.69% -0.0296 -0.1407)
OKLCHoklch(48.69% 0.144 258.1)
XYZxyz(12.3769, 11.2974, 42.0774)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245DAF #AF7624
analogous
#24A3AF #245DAF #3124AF
triadic
#245DAF #AF245D #5DAF24
tetradic
#245DAF #AF24A3 #AF7624 #24AF31
square
#245DAF #AF24A3 #AF7624 #24AF31
split-complementary
#245DAF #AF3124 #A3AF24
monochromatic
#0F2749 #1A427C #245DAF #3A7AD6 #6D9CE1

Accessibility & contrast

On white

6.44
#245DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#245DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245DAF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245DAF#FFFFFF#000000##FFFFFF
##245DAF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#0A59AD
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #245daf;
/* rgb */ color: rgb(36, 93, 175);
/* oklch */ color: oklch(48.7% 0.144 258.1);
Tailwind
colors: {
  custom: {
    50: '#758ac7',
    500: '#245daf',
    950: '#000000',
  },
}
SCSS
$custom: #245daf;
$custom-light: #758ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#245daf",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 215.396,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.14374,
    "h": 258.1
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#245DAF
secondary
#C7A068
accent
#A33FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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