#297EFF#297EFF

#297EFF is a mid, highly saturated blue. Relative luminance 0.226; OKLCH L 61.6% C 0.208 H 259.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#297EFF
RGBrgb(41, 126, 255)
HSLhsl(216, 100%, 58%)
HSVhsv(216, 84%, 100%)
CMYKcmyk(83.9%, 50.6%, 0%, 0%)
CIE-LABlab(54.67, 21.70, -70.97)
CIE-LCHlch(54.67, 74.22, 287.00°)
OKLaboklab(61.62% -0.0389 -0.2046)
OKLCHoklch(61.62% 0.208 259.2)
XYZxyz(26.4187, 22.6098, 97.5601)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297EFF #FFAA29
analogous
#29E9FF #297EFF #3F29FF
triadic
#297EFF #FF297E #7EFF29
tetradic
#297EFF #FF29E9 #FFAA29 #29FF3F
square
#297EFF #FF29E9 #FFAA29 #29FF3F
split-complementary
#297EFF #FF3F29 #E9FF29
monochromatic
#0045AE #005DEB #297EFF #66A3FF #A3C8FF

Accessibility & contrast

On white

3.80
#297EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#297EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #297EFF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297EFF#FFFFFF#000000##000000
##297EFF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#258DFF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #297eff;
/* rgb */ color: rgb(41, 126, 255);
/* oklch */ color: oklch(61.6% 0.208 259.2);
Tailwind
colors: {
  custom: {
    50: '#87a2ff',
    500: '#297eff',
    950: '#000000',
  },
}
SCSS
$custom: #297eff;
$custom-light: #87a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#297eff",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 216.168,
    "s": 100,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.20827,
    "h": 259.2
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#297EFF
secondary
#EDCB97
accent
#AA29FF
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F18
muted
#7E7E86

Preview Lab

Preview with #297EFF

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

Preview Lab → · Contrast checker → · Palette generator →

#297EFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva