#245271#245271

#245271 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.072 H 240.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#245271
RGBrgb(36, 82, 113)
HSLhsl(204, 52%, 29%)
HSVhsv(204, 68%, 44%)
CMYKcmyk(68.1%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.14, -5.01, -22.41)
CIE-LCHlch(33.14, 22.96, 257.40°)
OKLaboklab(42.12% -0.035 -0.063)
OKLCHoklch(42.12% 0.072 240.9)
XYZxyz(6.7243, 7.6012, 16.7324)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245271 #714324
analogous
#24716A #245271 #242C71
triadic
#245271 #712452 #527124
tetradic
#245271 #6A2471 #714324 #2C7124
square
#245271 #6A2471 #714324 #2C7124
split-complementary
#245271 #71242C #716A24
monochromatic
#071117 #153043 #245271 #33749F #4A94C5

Accessibility & contrast

On white

8.33
#245271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#245271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245271
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245271#FFFFFF#000000##FFFFFF
##2452711.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#394B70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #245271;
/* rgb */ color: rgb(36, 82, 113);
/* oklch */ color: oklch(42.1% 0.072 240.9);
Tailwind
colors: {
  custom: {
    50: '#68829a',
    500: '#245271',
    950: '#000000',
  },
}
SCSS
$custom: #245271;
$custom-light: #68829a;
$custom-dark: #000000;
JSON
{
  "hex": "#245271",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 204.156,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.07213,
    "h": 240.9
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#245271
secondary
#A4704D
accent
#864DDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245271

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

Preview Lab → · Contrast checker → · Palette generator →

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