#245997#245997

#245997 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.116 H 254.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#245997
RGBrgb(36, 89, 151)
HSLhsl(212, 61%, 37%)
HSVhsv(212, 76%, 59%)
CMYKcmyk(76.2%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.40, 4.97, -38.99)
CIE-LCHlch(37.40, 39.31, 277.27°)
OKLaboklab(46.14% -0.031 -0.1113)
OKLCHoklch(46.14% 0.116 254.4)
XYZxyz(9.8838, 9.7531, 30.6338)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245997 #976224
analogous
#249397 #245997 #292497
triadic
#245997 #972459 #599724
tetradic
#245997 #972493 #976224 #249729
square
#245997 #972493 #976224 #249729
split-complementary
#245997 #972924 #939724
monochromatic
#0C1F34 #183C66 #245997 #3076C8 #5D96D8

Accessibility & contrast

On white

7.12
#245997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#245997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245997
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245997#FFFFFF#000000##FFFFFF
##2459971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E99
Deuteranopia (green-blind)
#295396
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #245997;
/* rgb */ color: rgb(36, 89, 151);
/* oklch */ color: oklch(46.1% 0.116 254.4);
Tailwind
colors: {
  custom: {
    50: '#6f87b6',
    500: '#245997',
    950: '#000000',
  },
}
SCSS
$custom: #245997;
$custom-light: #6f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#245997",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 212.348,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.11559,
    "h": 254.4
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#245997
secondary
#BD8F5A
accent
#9A43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245997

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

Preview Lab → · Contrast checker → · Palette generator →

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