#245A98#245A98

#245A98 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.4% C 0.116 H 254.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#245A98
RGBrgb(36, 90, 152)
HSLhsl(212, 62%, 37%)
HSVhsv(212, 76%, 60%)
CMYKcmyk(76.3%, 40.8%, 0%, 40.4%)
CIE-LABlab(37.76, 4.71, -39.01)
CIE-LCHlch(37.76, 39.30, 276.88°)
OKLaboklab(46.44% -0.0317 -0.1114)
OKLCHoklch(46.44% 0.116 254.1)
XYZxyz(10.0491, 9.9533, 31.0912)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A98 #986224
analogous
#249498 #245A98 #282498
triadic
#245A98 #98245A #5A9824
tetradic
#245A98 #982494 #986224 #249828
square
#245A98 #982494 #986224 #249828
split-complementary
#245A98 #982824 #949824
monochromatic
#0D1F35 #183D67 #245A98 #3077C9 #5E97D9

Accessibility & contrast

On white

7.02
#245A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#245A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A98
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A98#FFFFFF#000000##FFFFFF
##245A981.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9A
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #245a98;
/* rgb */ color: rgb(36, 90, 152);
/* oklch */ color: oklch(46.4% 0.116 254.1);
Tailwind
colors: {
  custom: {
    50: '#6f88b7',
    500: '#245a98',
    950: '#000000',
  },
}
SCSS
$custom: #245a98;
$custom-light: #6f88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245a98",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 212.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.11583,
    "h": 254.1
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#245A98
secondary
#BE8F5A
accent
#9943E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245A98

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

Preview Lab → · Contrast checker → · Palette generator →

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