#295097#295097

#295097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 261.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#295097
RGBrgb(41, 80, 151)
HSLhsl(219, 57%, 38%)
HSVhsv(219, 73%, 59%)
CMYKcmyk(72.8%, 47%, 0%, 40.8%)
CIE-LABlab(34.89, 11.61, -42.99)
CIE-LCHlch(34.89, 44.53, 285.11°)
OKLaboklab(44.25% -0.019 -0.1232)
OKLCHoklch(44.25% 0.125 261.2)
XYZxyz(9.3670, 8.4421, 30.4080)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295097 #977029
analogous
#298797 #295097 #392997
triadic
#295097 #972950 #509729
tetradic
#295097 #972987 #977029 #299739
square
#295097 #972987 #977029 #299739
split-complementary
#295097 #973929 #879729
monochromatic
#0F1D37 #1C3767 #295097 #366AC7 #658DD5

Accessibility & contrast

On white

7.81
#295097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#295097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295097
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295097#FFFFFF#000000##FFFFFF
##2950971.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295097;
/* rgb */ color: rgb(41, 80, 151);
/* oklch */ color: oklch(44.2% 0.125 261.2);
Tailwind
colors: {
  custom: {
    50: '#7180b6',
    500: '#295097',
    950: '#000000',
  },
}
SCSS
$custom: #295097;
$custom-light: #7180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295097",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 218.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.12464,
    "h": 261.2
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#295097
secondary
#BB9B61
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295097

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

Preview Lab → · Contrast checker → · Palette generator →

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