#245796#245796

#245796 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.116 H 255.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#245796
RGBrgb(36, 87, 150)
HSLhsl(213, 61%, 36%)
HSVhsv(213, 76%, 59%)
CMYKcmyk(76%, 42%, 0%, 41.2%)
CIE-LABlab(36.73, 5.88, -39.45)
CIE-LCHlch(36.73, 39.89, 278.48°)
OKLaboklab(45.6% -0.0294 -0.1127)
OKLCHoklch(45.6% 0.116 255.4)
XYZxyz(9.6387, 9.3924, 30.1532)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245796 #966324
analogous
#249096 #245796 #2A2496
triadic
#245796 #962457 #579624
tetradic
#245796 #962490 #966324 #24962A
square
#245796 #962490 #966324 #24962A
split-complementary
#245796 #962A24 #909624
monochromatic
#0C1E33 #183A65 #245796 #3074C7 #5C94D8

Accessibility & contrast

On white

7.30
#245796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#245796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245796
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245796#FFFFFF#000000##FFFFFF
##2457961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #245796;
/* rgb */ color: rgb(36, 87, 150);
/* oklch */ color: oklch(45.6% 0.116 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f85b5',
    500: '#245796',
    950: '#000000',
  },
}
SCSS
$custom: #245796;
$custom-light: #6f85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#245796",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 213.158,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.11649,
    "h": 255.4
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#245796
secondary
#BD9059
accent
#9C43E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245796

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

Preview Lab → · Contrast checker → · Palette generator →

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