#245799#245799

#245799 is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.121 H 256.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#245799
RGBrgb(36, 87, 153)
HSLhsl(214, 62%, 37%)
HSVhsv(214, 76%, 60%)
CMYKcmyk(76.5%, 43.1%, 0%, 40%)
CIE-LABlab(36.91, 7.05, -40.97)
CIE-LCHlch(36.91, 41.57, 279.77°)
OKLaboklab(45.8% -0.0287 -0.1172)
OKLCHoklch(45.8% 0.121 256.2)
XYZxyz(9.8834, 9.4902, 31.4417)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245799 #996624
analogous
#249299 #245799 #2B2499
triadic
#245799 #992457 #579924
tetradic
#245799 #992492 #996624 #24992B
square
#245799 #992492 #996624 #24992B
split-complementary
#245799 #992B24 #929924
monochromatic
#0D1F36 #183B67 #245799 #3073CB #5E94D9

Accessibility & contrast

On white

7.25
#245799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#245799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245799
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245799#FFFFFF#000000##FFFFFF
##2457991.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245799;
/* rgb */ color: rgb(36, 87, 153);
/* oklch */ color: oklch(45.8% 0.121 256.2);
Tailwind
colors: {
  custom: {
    50: '#7085b7',
    500: '#245799',
    950: '#000000',
  },
}
SCSS
$custom: #245799;
$custom-light: #7085b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245799",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 213.846,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.12065,
    "h": 256.2
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#245799
secondary
#BE935B
accent
#9E43E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245799

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

Preview Lab → · Contrast checker → · Palette generator →

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