#245FAF#245FAF

#245FAF is a mid, vivid cyan. Relative luminance 0.117; OKLCH L 49.1% C 0.141 H 257.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#245FAF
RGBrgb(36, 95, 175)
HSLhsl(215, 66%, 41%)
HSVhsv(215, 79%, 69%)
CMYKcmyk(79.4%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.66, 10.42, -48.06)
CIE-LCHlch(40.66, 49.17, 282.23°)
OKLaboklab(49.14% -0.0312 -0.1379)
OKLCHoklch(49.14% 0.141 257.2)
XYZxyz(12.5548, 11.6531, 42.1367)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245FAF #AF7424
analogous
#24A5AF #245FAF #2E24AF
triadic
#245FAF #AF245F #5FAF24
tetradic
#245FAF #AF24A5 #AF7424 #24AF2E
square
#245FAF #AF24A5 #AF7424 #24AF2E
split-complementary
#245FAF #AF2E24 #A5AF24
monochromatic
#0F2849 #1A437C #245FAF #3A7CD6 #6D9EE1

Accessibility & contrast

On white

6.30
#245FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#245FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245FAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245FAF#FFFFFF#000000##FFFFFF
##245FAF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #245faf;
/* rgb */ color: rgb(36, 95, 175);
/* oklch */ color: oklch(49.1% 0.141 257.2);
Tailwind
colors: {
  custom: {
    50: '#758bc7',
    500: '#245faf',
    950: '#000000',
  },
}
SCSS
$custom: #245faf;
$custom-light: #758bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#245faf",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 214.532,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.14137,
    "h": 257.2
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#245FAF
secondary
#C79F68
accent
#A13FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #245FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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