#245095#245095

#245095 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.123 H 259.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#245095
RGBrgb(36, 80, 149)
HSLhsl(217, 61%, 36%)
HSVhsv(217, 76%, 58%)
CMYKcmyk(75.8%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.56, 10.12, -42.31)
CIE-LCHlch(34.56, 43.51, 283.45°)
OKLaboklab(43.9% -0.0232 -0.1213)
OKLCHoklch(43.9% 0.123 259.2)
XYZxyz(9.0191, 8.2813, 29.5511)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245095 #956924
analogous
#248995 #245095 #312495
triadic
#245095 #952450 #509524
tetradic
#245095 #952489 #956924 #249531
square
#245095 #952489 #956924 #249531
split-complementary
#245095 #953124 #899524
monochromatic
#0C1B32 #183664 #245095 #306AC6 #5C8CD8

Accessibility & contrast

On white

7.91
#245095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#245095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245095
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245095#FFFFFF#000000##FFFFFF
##2450951.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#144C94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245095;
/* rgb */ color: rgb(36, 80, 149);
/* oklch */ color: oklch(43.9% 0.123 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f80b5',
    500: '#245095',
    950: '#000000',
  },
}
SCSS
$custom: #245095;
$custom-light: #6f80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#245095",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 216.637,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.12346,
    "h": 259.2
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#245095
secondary
#BC9559
accent
#A644E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245095

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

Preview Lab → · Contrast checker → · Palette generator →

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