#245A7F#245A7F

#245A7F is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.083 H 241.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#245A7F
RGBrgb(36, 90, 127)
HSLhsl(204, 56%, 32%)
HSVhsv(204, 72%, 50%)
CMYKcmyk(71.7%, 29.1%, 0%, 50.2%)
CIE-LABlab(36.40, -4.82, -25.97)
CIE-LCHlch(36.40, 26.42, 259.48°)
OKLaboklab(44.93% -0.0391 -0.0733)
OKLCHoklch(44.93% 0.083 241.9)
XYZxyz(8.2130, 9.2188, 21.4211)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A7F #7F4924
analogous
#247F77 #245A7F #242C7F
triadic
#245A7F #7F245A #5A7F24
tetradic
#245A7F #77247F #7F4924 #2C7F24
square
#245A7F #77247F #7F4924 #2C7F24
split-complementary
#245A7F #7F242C #7F7724
monochromatic
#091620 #16384F #245A7F #327CAF #509ACD

Accessibility & contrast

On white

7.38
#245A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#245A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A7F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A7F#FFFFFF#000000##FFFFFF
##245A7F1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#3D527E
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #245a7f;
/* rgb */ color: rgb(36, 90, 127);
/* oklch */ color: oklch(44.9% 0.083 241.9);
Tailwind
colors: {
  custom: {
    50: '#6b88a4',
    500: '#245a7f',
    950: '#000000',
  },
}
SCSS
$custom: #245a7f;
$custom-light: #6b88a4;
$custom-dark: #000000;
JSON
{
  "hex": "#245a7f",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 127
  },
  "hsl": {
    "h": 204.396,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.08306,
    "h": 241.9
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#245A7F
secondary
#B1764E
accent
#8649DF
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #245A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#245A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva