#245998#245998

#245998 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.117 H 254.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#245998
RGBrgb(36, 89, 152)
HSLhsl(213, 62%, 37%)
HSVhsv(213, 76%, 60%)
CMYKcmyk(76.3%, 41.4%, 0%, 40.4%)
CIE-LABlab(37.45, 5.36, -39.50)
CIE-LCHlch(37.45, 39.86, 277.73°)
OKLaboklab(46.2% -0.0308 -0.1128)
OKLCHoklch(46.2% 0.117 254.7)
XYZxyz(9.9653, 9.7857, 31.0633)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245998 #986324
analogous
#249398 #245998 #292498
triadic
#245998 #982459 #599824
tetradic
#245998 #982493 #986324 #249829
square
#245998 #982493 #986324 #249829
split-complementary
#245998 #982924 #939824
monochromatic
#0D1F35 #183C67 #245998 #3076C9 #5E96D9

Accessibility & contrast

On white

7.10
#245998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#245998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245998
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245998#FFFFFF#000000##FFFFFF
##2459981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #245998;
/* rgb */ color: rgb(36, 89, 152);
/* oklch */ color: oklch(46.2% 0.117 254.7);
Tailwind
colors: {
  custom: {
    50: '#6f87b7',
    500: '#245998',
    950: '#000000',
  },
}
SCSS
$custom: #245998;
$custom-light: #6f87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245998",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 212.586,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.462,
    "c": 0.11696,
    "h": 254.7
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#245998
secondary
#BE905A
accent
#9B43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245998

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

Preview Lab → · Contrast checker → · Palette generator →

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