#245897#245897

#245897 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.117 H 255.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#245897
RGBrgb(36, 88, 151)
HSLhsl(213, 61%, 37%)
HSVhsv(213, 76%, 59%)
CMYKcmyk(76.2%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.09, 5.62, -39.47)
CIE-LCHlch(37.09, 39.87, 278.10°)
OKLaboklab(45.9% -0.0301 -0.1128)
OKLCHoklch(45.9% 0.117 255.1)
XYZxyz(9.8011, 9.5878, 30.6062)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245897 #976324
analogous
#249297 #245897 #2A2497
triadic
#245897 #972458 #589724
tetradic
#245897 #972492 #976324 #24972A
square
#245897 #972492 #976324 #24972A
split-complementary
#245897 #972A24 #929724
monochromatic
#0C1E34 #183B66 #245897 #3075C8 #5D95D8

Accessibility & contrast

On white

7.20
#245897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245897
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245897#FFFFFF#000000##FFFFFF
##2458971.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#275296
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245897;
/* rgb */ color: rgb(36, 88, 151);
/* oklch */ color: oklch(45.9% 0.117 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f86b6',
    500: '#245897',
    950: '#000000',
  },
}
SCSS
$custom: #245897;
$custom-light: #6f86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#245897",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 212.87,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.11672,
    "h": 255.1
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245897

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

Preview Lab → · Contrast checker → · Palette generator →

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