#245295#245295

#245295 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.121 H 258.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#245295
RGBrgb(36, 82, 149)
HSLhsl(216, 61%, 36%)
HSVhsv(216, 76%, 58%)
CMYKcmyk(75.8%, 45%, 0%, 41.6%)
CIE-LABlab(35.16, 8.79, -41.35)
CIE-LCHlch(35.16, 42.28, 282.00°)
OKLaboklab(44.36% -0.025 -0.1184)
OKLCHoklch(44.36% 0.121 258.1)
XYZxyz(9.1677, 8.5786, 29.6006)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245295 #956724
analogous
#248B95 #245295 #2F2495
triadic
#245295 #952452 #529524
tetradic
#245295 #95248B #956724 #24952F
square
#245295 #95248B #956724 #24952F
split-complementary
#245295 #952F24 #8B9524
monochromatic
#0C1C32 #183764 #245295 #306DC6 #5C8ED8

Accessibility & contrast

On white

7.73
#245295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#245295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245295
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245295#FFFFFF#000000##FFFFFF
##2452951.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245295;
/* rgb */ color: rgb(36, 82, 149);
/* oklch */ color: oklch(44.4% 0.121 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#245295',
    950: '#000000',
  },
}
SCSS
$custom: #245295;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245295",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 215.575,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.12102,
    "h": 258.1
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#245295
secondary
#BC9459
accent
#A344E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245295

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

Preview Lab → · Contrast checker → · Palette generator →

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