#245798#245798

#245798 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.119 H 256.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#245798
RGBrgb(36, 87, 152)
HSLhsl(214, 62%, 37%)
HSVhsv(214, 76%, 60%)
CMYKcmyk(76.3%, 42.8%, 0%, 40.4%)
CIE-LABlab(36.85, 6.67, -40.46)
CIE-LCHlch(36.85, 41.01, 279.35°)
OKLaboklab(45.73% -0.0289 -0.1157)
OKLCHoklch(45.73% 0.119 256)
XYZxyz(9.8012, 9.4573, 31.0086)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245798 #986524
analogous
#249198 #245798 #2B2498
triadic
#245798 #982457 #579824
tetradic
#245798 #982491 #986524 #24982B
square
#245798 #982491 #986524 #24982B
split-complementary
#245798 #982B24 #919824
monochromatic
#0D1E35 #183B67 #245798 #3073C9 #5E94D9

Accessibility & contrast

On white

7.26
#245798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#245798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245798
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245798#FFFFFF#000000##FFFFFF
##2457981.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245798;
/* rgb */ color: rgb(36, 87, 152);
/* oklch */ color: oklch(45.7% 0.119 256.0);
Tailwind
colors: {
  custom: {
    50: '#7085b7',
    500: '#245798',
    950: '#000000',
  },
}
SCSS
$custom: #245798;
$custom-light: #7085b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245798",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 213.621,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.11927,
    "h": 256
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#245798
secondary
#BE925A
accent
#9E43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245798

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

Preview Lab → · Contrast checker → · Palette generator →

#245798 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva