#245898#245898

#245898 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.118 H 255.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#245898
RGBrgb(36, 88, 152)
HSLhsl(213, 62%, 37%)
HSVhsv(213, 76%, 60%)
CMYKcmyk(76.3%, 42.1%, 0%, 40.4%)
CIE-LABlab(37.15, 6.01, -39.98)
CIE-LCHlch(37.15, 40.43, 278.55°)
OKLaboklab(45.97% -0.0299 -0.1143)
OKLCHoklch(45.97% 0.118 255.3)
XYZxyz(9.8827, 9.6204, 31.0357)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245898 #986424
analogous
#249298 #245898 #2A2498
triadic
#245898 #982458 #589824
tetradic
#245898 #982492 #986424 #24982A
square
#245898 #982492 #986424 #24982A
split-complementary
#245898 #982A24 #929824
monochromatic
#0D1F35 #183B67 #245898 #3075C9 #5E95D9

Accessibility & contrast

On white

7.18
#245898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#245898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245898
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245898#FFFFFF#000000##FFFFFF
##2458981.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245898;
/* rgb */ color: rgb(36, 88, 152);
/* oklch */ color: oklch(46.0% 0.118 255.3);
Tailwind
colors: {
  custom: {
    50: '#6f86b7',
    500: '#245898',
    950: '#000000',
  },
}
SCSS
$custom: #245898;
$custom-light: #6f86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245898",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 213.103,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.1181,
    "h": 255.3
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#245898
secondary
#BE915A
accent
#9C43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245898

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

Preview Lab → · Contrast checker → · Palette generator →

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