#293FAF#293FAF

#293FAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.179 H 268.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#293FAF
RGBrgb(41, 63, 175)
HSLhsl(230, 62%, 42%)
HSVhsv(230, 77%, 69%)
CMYKcmyk(76.6%, 64%, 0%, 31.4%)
CIE-LABlab(32.08, 32.12, -61.97)
CIE-LCHlch(32.08, 69.79, 297.40°)
OKLaboklab(42.71% -0.0041 -0.1792)
OKLCHoklch(42.71% 0.179 268.7)
XYZxyz(10.4271, 7.1204, 41.3740)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293FAF #AF9929
analogous
#2982AF #293FAF #5629AF
triadic
#293FAF #AF293F #3FAF29
tetradic
#293FAF #AF2982 #AF9929 #29AF56
square
#293FAF #AF2982 #AF9929 #29AF56
split-complementary
#293FAF #AF5629 #82AF29
monochromatic
#121B4C #1D2D7D #293FAF #425AD3 #7485DE

Accessibility & contrast

On white

8.66
#293FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#293FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293FAF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293FAF#FFFFFF#000000##FFFFFF
##293FAF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #293faf;
/* rgb */ color: rgb(41, 63, 175);
/* oklch */ color: oklch(42.7% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#7874c8',
    500: '#293faf',
    950: '#000000',
  },
}
SCSS
$custom: #293faf;
$custom-light: #7874c8;
$custom-dark: #000000;
JSON
{
  "hex": "#293faf",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 230.149,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.17925,
    "h": 268.7
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#293FAF
secondary
#C6B76E
accent
#CA43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #293FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#293FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva