#245395#245395

#245395 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.120 H 257.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#245395
RGBrgb(36, 83, 149)
HSLhsl(215, 61%, 36%)
HSVhsv(215, 76%, 58%)
CMYKcmyk(75.8%, 44.3%, 0%, 41.6%)
CIE-LABlab(35.46, 8.12, -40.87)
CIE-LCHlch(35.46, 41.67, 281.24°)
OKLaboklab(44.59% -0.0259 -0.117)
OKLCHoklch(44.59% 0.12 257.5)
XYZxyz(9.2436, 8.7305, 29.6259)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245395 #956624
analogous
#248C95 #245395 #2E2495
triadic
#245395 #952453 #539524
tetradic
#245395 #95248C #956624 #24952E
square
#245395 #95248C #956624 #24952E
split-complementary
#245395 #952E24 #8C9524
monochromatic
#0C1C32 #183864 #245395 #306EC6 #5C8FD8

Accessibility & contrast

On white

7.65
#245395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#245395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245395
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245395#FFFFFF#000000##FFFFFF
##2453951.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245395;
/* rgb */ color: rgb(36, 83, 149);
/* oklch */ color: oklch(44.6% 0.120 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#245395',
    950: '#000000',
  },
}
SCSS
$custom: #245395;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245395",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 149
  },
  "hsl": {
    "h": 215.044,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.11982,
    "h": 257.5
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#245395
secondary
#BC9359
accent
#A144E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245395

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

Preview Lab → · Contrast checker → · Palette generator →

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