#293889#293889

#293889 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.136 H 270.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#293889
RGBrgb(41, 56, 137)
HSLhsl(231, 54%, 35%)
HSVhsv(231, 70%, 54%)
CMYKcmyk(70.1%, 59.1%, 0%, 46.3%)
CIE-LABlab(27.03, 22.51, -47.10)
CIE-LCHlch(27.03, 52.20, 295.55°)
OKLaboklab(37.96% 0.0014 -0.1356)
OKLCHoklch(37.96% 0.136 270.6)
XYZxyz(6.8424, 5.1053, 24.2869)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293889 #897A29
analogous
#296889 #293889 #4A2989
triadic
#293889 #892938 #388929
tetradic
#293889 #892968 #897A29 #29894A
square
#293889 #892968 #897A29 #29894A
split-complementary
#293889 #894A29 #688929
monochromatic
#0D112B #1B255A #293889 #374BB8 #5E6FCF

Accessibility & contrast

On white

10.39
#293889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#293889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293889
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293889#FFFFFF#000000##FFFFFF
##2938891.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293889;
/* rgb */ color: rgb(41, 56, 137);
/* oklch */ color: oklch(38.0% 0.136 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eac',
    500: '#293889',
    950: '#000000',
  },
}
SCSS
$custom: #293889;
$custom-light: #6f6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#293889",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 230.625,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37965,
    "c": 0.13566,
    "h": 270.6
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#293889
secondary
#B4A65A
accent
#C64ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293889

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

Preview Lab → · Contrast checker → · Palette generator →

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