#245793#245793

#245793 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.112 H 254.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#245793
RGBrgb(36, 87, 147)
HSLhsl(212, 61%, 36%)
HSVhsv(212, 76%, 58%)
CMYKcmyk(75.5%, 40.8%, 0%, 42.4%)
CIE-LABlab(36.55, 4.72, -37.92)
CIE-LCHlch(36.55, 38.22, 277.09°)
OKLaboklab(45.4% -0.0301 -0.1082)
OKLCHoklch(45.4% 0.112 254.4)
XYZxyz(9.4003, 9.2970, 28.8972)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245793 #936024
analogous
#248E93 #245793 #282493
triadic
#245793 #932457 #579324
tetradic
#245793 #93248E #936024 #249328
square
#245793 #93248E #936024 #249328
split-complementary
#245793 #932824 #8E9324
monochromatic
#0C1D31 #183A62 #245793 #3074C4 #5B94D7

Accessibility & contrast

On white

7.34
#245793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#245793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245793
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245793#FFFFFF#000000##FFFFFF
##2457931.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245793;
/* rgb */ color: rgb(36, 87, 147);
/* oklch */ color: oklch(45.4% 0.112 254.4);
Tailwind
colors: {
  custom: {
    50: '#6e85b3',
    500: '#245793',
    950: '#000000',
  },
}
SCSS
$custom: #245793;
$custom-light: #6e85b3;
$custom-dark: #000000;
JSON
{
  "hex": "#245793",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 212.432,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.11235,
    "h": 254.4
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#245793
secondary
#BB8D57
accent
#9A44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245793

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

Preview Lab → · Contrast checker → · Palette generator →

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