#245A9D#245A9D

#245A9D is a mid, vivid cyan. Relative luminance 0.101; OKLCH L 46.8% C 0.123 H 255.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#245A9D
RGBrgb(36, 90, 157)
HSLhsl(213, 63%, 38%)
HSVhsv(213, 77%, 62%)
CMYKcmyk(77.1%, 42.7%, 0%, 38.4%)
CIE-LABlab(38.06, 6.66, -41.54)
CIE-LCHlch(38.06, 42.07, 279.10°)
OKLaboklab(46.77% -0.0306 -0.1188)
OKLCHoklch(46.77% 0.123 255.6)
XYZxyz(10.4673, 10.1205, 33.2935)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A9D #9D6724
analogous
#24969D #245A9D #2A249D
triadic
#245A9D #9D245A #5A9D24
tetradic
#245A9D #9D2496 #9D6724 #249D2A
square
#245A9D #9D2496 #9D6724 #249D2A
split-complementary
#245A9D #9D2A24 #969D24
monochromatic
#0D2139 #193D6B #245A9D #2F77CF #6197DB

Accessibility & contrast

On white

6.94
#245A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#245A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245A9D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A9D#FFFFFF#000000##FFFFFF
##245A9D1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A0
Deuteranopia (green-blind)
#24549C
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #245a9d;
/* rgb */ color: rgb(36, 90, 157);
/* oklch */ color: oklch(46.8% 0.123 255.6);
Tailwind
colors: {
  custom: {
    50: '#7188ba',
    500: '#245a9d',
    950: '#000000',
  },
}
SCSS
$custom: #245a9d;
$custom-light: #7188ba;
$custom-dark: #000000;
JSON
{
  "hex": "#245a9d",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 157
  },
  "hsl": {
    "h": 213.223,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.12268,
    "h": 255.6
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#245A9D
secondary
#C0945D
accent
#9D42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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