#245CAF#245CAF

#245CAF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.145 H 258.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#245CAF
RGBrgb(36, 92, 175)
HSLhsl(216, 66%, 41%)
HSVhsv(216, 79%, 69%)
CMYKcmyk(79.4%, 47.4%, 0%, 31.4%)
CIE-LABlab(39.79, 12.37, -49.46)
CIE-LCHlch(39.79, 50.98, 284.05°)
OKLaboklab(48.47% -0.0288 -0.1421)
OKLCHoklch(48.47% 0.145 258.5)
XYZxyz(12.2897, 11.1231, 42.0484)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245CAF #AF7724
analogous
#24A2AF #245CAF #3124AF
triadic
#245CAF #AF245C #5CAF24
tetradic
#245CAF #AF24A2 #AF7724 #24AF31
square
#245CAF #AF24A2 #AF7724 #24AF31
split-complementary
#245CAF #AF3124 #A2AF24
monochromatic
#0F2749 #1A417C #245CAF #3A79D6 #6D9BE1

Accessibility & contrast

On white

6.51
#245CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#245CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245CAF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245CAF#FFFFFF#000000##FFFFFF
##245CAF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#0358AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #245caf;
/* rgb */ color: rgb(36, 92, 175);
/* oklch */ color: oklch(48.5% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#7589c7',
    500: '#245caf',
    950: '#000000',
  },
}
SCSS
$custom: #245caf;
$custom-light: #7589c7;
$custom-dark: #000000;
JSON
{
  "hex": "#245caf",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 215.827,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.14495,
    "h": 258.5
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#245CAF
secondary
#C7A168
accent
#A43FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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