#295199#295199

#295199 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.126 H 261.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#295199
RGBrgb(41, 81, 153)
HSLhsl(219, 58%, 38%)
HSVhsv(219, 73%, 60%)
CMYKcmyk(73.2%, 47.1%, 0%, 40%)
CIE-LABlab(35.31, 11.72, -43.52)
CIE-LCHlch(35.31, 45.07, 285.07°)
OKLaboklab(44.61% -0.0196 -0.1247)
OKLCHoklch(44.61% 0.126 261.1)
XYZxyz(9.6046, 8.6552, 31.2952)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295199 #997129
analogous
#298999 #295199 #392999
triadic
#295199 #992951 #519929
tetradic
#295199 #992989 #997129 #299939
square
#295199 #992989 #997129 #299939
split-complementary
#295199 #993929 #899929
monochromatic
#0F1E38 #1C3769 #295199 #366BC9 #668ED6

Accessibility & contrast

On white

7.69
#295199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295199
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295199#FFFFFF#000000##FFFFFF
##2951991.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#134E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295199;
/* rgb */ color: rgb(41, 81, 153);
/* oklch */ color: oklch(44.6% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#7281b7',
    500: '#295199',
    950: '#000000',
  },
}
SCSS
$custom: #295199;
$custom-light: #7281b7;
$custom-dark: #000000;
JSON
{
  "hex": "#295199",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 218.571,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.12625,
    "h": 261.1
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295199

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

Preview Lab → · Contrast checker → · Palette generator →

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