#2938AF#2938AF

#2938AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.187 H 270.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2938AF
RGBrgb(41, 56, 175)
HSLhsl(233, 62%, 42%)
HSVhsv(233, 77%, 69%)
CMYKcmyk(76.6%, 68%, 0%, 31.4%)
CIE-LABlab(30.39, 36.61, -64.75)
CIE-LCHlch(30.39, 74.38, 299.48°)
OKLaboklab(41.47% 0 -0.1874)
OKLCHoklch(41.47% 0.187 270)
XYZxyz(10.0638, 6.3938, 41.2529)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2938AF #AFA029
analogous
#297BAF #2938AF #5D29AF
triadic
#2938AF #AF2938 #38AF29
tetradic
#2938AF #AF297B #AFA029 #29AF5D
square
#2938AF #AF297B #AFA029 #29AF5D
split-complementary
#2938AF #AF5D29 #7BAF29
monochromatic
#12184C #1D287D #2938AF #4253D3 #7480DE

Accessibility & contrast

On white

9.21
#2938AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2938AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2938AF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2938AF#FFFFFF#000000##FFFFFF
##2938AF1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2938af;
/* rgb */ color: rgb(41, 56, 175);
/* oklch */ color: oklch(41.5% 0.187 270.0);
Tailwind
colors: {
  custom: {
    50: '#796fc8',
    500: '#2938af',
    950: '#000000',
  },
}
SCSS
$custom: #2938af;
$custom-light: #796fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2938af",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 233.284,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.18738,
    "h": 270
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#2938AF
secondary
#C6BC6E
accent
#D343E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2938AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2938AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva