#245F78#245F78

#245F78 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.8% C 0.073 H 229.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#245F78
RGBrgb(36, 95, 120)
HSLhsl(198, 54%, 31%)
HSVhsv(198, 70%, 47%)
CMYKcmyk(70%, 20.8%, 0%, 52.9%)
CIE-LABlab(37.69, -10.41, -19.68)
CIE-LCHlch(37.69, 22.26, 242.13°)
OKLaboklab(45.84% -0.0472 -0.0551)
OKLCHoklch(45.84% 0.073 229.4)
XYZxyz(8.2086, 9.9147, 19.2468)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F78 #783D24
analogous
#247867 #245F78 #243578
triadic
#245F78 #78245F #5F7824
tetradic
#245F78 #672478 #783D24 #357824
square
#245F78 #672478 #783D24 #357824
split-complementary
#245F78 #782435 #786724
monochromatic
#08141A #163A49 #245F78 #3284A7 #4DA4CA

Accessibility & contrast

On white

7.04
#245F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#245F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245F78
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F78#FFFFFF#000000##FFFFFF
##245F781.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D79
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#006667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #245f78;
/* rgb */ color: rgb(36, 95, 120);
/* oklch */ color: oklch(45.8% 0.073 229.4);
Tailwind
colors: {
  custom: {
    50: '#6a8c9f',
    500: '#245f78',
    950: '#000000',
  },
}
SCSS
$custom: #245f78;
$custom-light: #6a8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#245f78",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 120
  },
  "hsl": {
    "h": 197.857,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.07256,
    "h": 229.4
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#245F78
secondary
#AB694D
accent
#764BDD
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #245F78

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

Preview Lab → · Contrast checker → · Palette generator →

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