#245294#245294

#245294 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.120 H 257.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#245294
RGBrgb(36, 82, 148)
HSLhsl(215, 61%, 36%)
HSVhsv(215, 76%, 58%)
CMYKcmyk(75.7%, 44.6%, 0%, 42%)
CIE-LABlab(35.10, 8.39, -40.85)
CIE-LCHlch(35.10, 41.70, 281.61°)
OKLaboklab(44.29% -0.0252 -0.1169)
OKLCHoklch(44.29% 0.12 257.8)
XYZxyz(9.0882, 8.5468, 29.1819)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245294 #946624
analogous
#248A94 #245294 #2E2494
triadic
#245294 #942452 #529424
tetradic
#245294 #94248A #946624 #24942E
square
#245294 #94248A #946624 #24942E
split-complementary
#245294 #942E24 #8A9424
monochromatic
#0C1B32 #183763 #245294 #306DC5 #5B8ED7

Accessibility & contrast

On white

7.75
#245294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#245294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245294
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245294#FFFFFF#000000##FFFFFF
##2452941.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245294;
/* rgb */ color: rgb(36, 82, 148);
/* oklch */ color: oklch(44.3% 0.120 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#245294',
    950: '#000000',
  },
}
SCSS
$custom: #245294;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245294",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 215.357,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.11961,
    "h": 257.8
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#245294
secondary
#BC9358
accent
#A244E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245294

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

Preview Lab → · Contrast checker → · Palette generator →

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