#295698#295698

#295698 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.119 H 258.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#295698
RGBrgb(41, 86, 152)
HSLhsl(216, 58%, 38%)
HSVhsv(216, 73%, 60%)
CMYKcmyk(73%, 43.4%, 0%, 40.4%)
CIE-LABlab(36.73, 8.03, -40.64)
CIE-LCHlch(36.73, 41.43, 281.18°)
OKLaboklab(45.69% -0.0245 -0.1162)
OKLCHoklch(45.69% 0.119 258.1)
XYZxyz(9.9077, 9.3929, 30.9905)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295698 #986B29
analogous
#298D98 #295698 #342998
triadic
#295698 #982956 #569829
tetradic
#295698 #98298D #986B29 #299834
square
#295698 #98298D #986B29 #299834
split-complementary
#295698 #983429 #8D9829
monochromatic
#0F1F38 #1C3B68 #295698 #3671C8 #6693D6

Accessibility & contrast

On white

7.29
#295698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#295698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295698
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295698#FFFFFF#000000##FFFFFF
##2956981.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295698;
/* rgb */ color: rgb(41, 86, 152);
/* oklch */ color: oklch(45.7% 0.119 258.1);
Tailwind
colors: {
  custom: {
    50: '#7185b7',
    500: '#295698',
    950: '#000000',
  },
}
SCSS
$custom: #295698;
$custom-light: #7185b7;
$custom-dark: #000000;
JSON
{
  "hex": "#295698",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 215.676,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.11873,
    "h": 258.1
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#295698
secondary
#BC9761
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295698

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

Preview Lab → · Contrast checker → · Palette generator →

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