#245794#245794

#245794 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.114 H 254.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#245794
RGBrgb(36, 87, 148)
HSLhsl(213, 61%, 36%)
HSVhsv(213, 76%, 58%)
CMYKcmyk(75.7%, 41.2%, 0%, 42%)
CIE-LABlab(36.61, 5.11, -38.43)
CIE-LCHlch(36.61, 38.77, 277.57°)
OKLaboklab(45.46% -0.0299 -0.1097)
OKLCHoklch(45.46% 0.114 254.8)
XYZxyz(9.4791, 9.3285, 29.3122)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245794 #946124
analogous
#248F94 #245794 #292494
triadic
#245794 #942457 #579424
tetradic
#245794 #94248F #946124 #249429
square
#245794 #94248F #946124 #249429
split-complementary
#245794 #942924 #8F9424
monochromatic
#0C1D32 #183A63 #245794 #3074C5 #5B94D7

Accessibility & contrast

On white

7.33
#245794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#245794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245794
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245794#FFFFFF#000000##FFFFFF
##2457941.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C96
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #245794;
/* rgb */ color: rgb(36, 87, 148);
/* oklch */ color: oklch(45.5% 0.114 254.8);
Tailwind
colors: {
  custom: {
    50: '#6f85b4',
    500: '#245794',
    950: '#000000',
  },
}
SCSS
$custom: #245794;
$custom-light: #6f85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245794",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 212.679,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.11374,
    "h": 254.8
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#245794
secondary
#BC8E58
accent
#9B44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245794

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

Preview Lab → · Contrast checker → · Palette generator →

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