#245297#245297

#245297 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.124 H 258.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#245297
RGBrgb(36, 82, 151)
HSLhsl(216, 61%, 37%)
HSVhsv(216, 76%, 59%)
CMYKcmyk(76.2%, 45.7%, 0%, 40.8%)
CIE-LABlab(35.29, 9.57, -42.36)
CIE-LCHlch(35.29, 43.43, 282.73°)
OKLaboklab(44.5% -0.0246 -0.1214)
OKLCHoklch(44.5% 0.124 258.5)
XYZxyz(9.3287, 8.6430, 30.4488)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245297 #976924
analogous
#248C97 #245297 #302497
triadic
#245297 #972452 #529724
tetradic
#245297 #97248C #976924 #249730
square
#245297 #97248C #976924 #249730
split-complementary
#245297 #973024 #8C9724
monochromatic
#0C1C34 #183766 #245297 #306DC8 #5D8ED8

Accessibility & contrast

On white

7.70
#245297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#245297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245297
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245297#FFFFFF#000000##FFFFFF
##2452971.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#174E96
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245297;
/* rgb */ color: rgb(36, 82, 151);
/* oklch */ color: oklch(44.5% 0.124 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f82b6',
    500: '#245297',
    950: '#000000',
  },
}
SCSS
$custom: #245297;
$custom-light: #6f82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#245297",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 216,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.445,
    "c": 0.12384,
    "h": 258.5
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#245297
secondary
#BD955A
accent
#A443E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245297

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

Preview Lab → · Contrast checker → · Palette generator →

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