#245195#245195

#245195 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.122 H 258.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#245195
RGBrgb(36, 81, 149)
HSLhsl(216, 61%, 36%)
HSVhsv(216, 76%, 58%)
CMYKcmyk(75.8%, 45.6%, 0%, 41.6%)
CIE-LABlab(34.86, 9.45, -41.84)
CIE-LCHlch(34.86, 42.89, 282.73°)
OKLaboklab(44.13% -0.0241 -0.1198)
OKLCHoklch(44.13% 0.122 258.6)
XYZxyz(9.0928, 8.4288, 29.5757)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245195 #956824
analogous
#248A95 #245195 #302495
triadic
#245195 #952451 #519524
tetradic
#245195 #95248A #956824 #249530
square
#245195 #95248A #956824 #249530
split-complementary
#245195 #953024 #8A9524
monochromatic
#0C1B32 #183664 #245195 #306CC6 #5C8DD8

Accessibility & contrast

On white

7.82
#245195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#245195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245195
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245195#FFFFFF#000000##FFFFFF
##2451951.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5898
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245195;
/* rgb */ color: rgb(36, 81, 149);
/* oklch */ color: oklch(44.1% 0.122 258.6);
Tailwind
colors: {
  custom: {
    50: '#6f81b4',
    500: '#245195',
    950: '#000000',
  },
}
SCSS
$custom: #245195;
$custom-light: #6f81b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245195",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 216.106,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44128,
    "c": 0.12223,
    "h": 258.6
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245195

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

Preview Lab → · Contrast checker → · Palette generator →

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