#3438CF#3438CF

#3438CF is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.224 H 271.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3438CF
RGBrgb(52, 56, 207)
HSLhsl(238, 62%, 51%)
HSVhsv(238, 75%, 81%)
CMYKcmyk(74.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.11, 48.62, -77.42)
CIE-LCHlch(34.11, 91.42, 302.13°)
OKLaboklab(45.25% 0.0075 -0.2241)
OKLCHoklch(45.25% 0.224 271.9)
XYZxyz(14.0890, 8.0619, 59.8330)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438CF #CFCB34
analogous
#3485CF #3438CF #7E34CF
triadic
#3438CF #CF3438 #38CF34
tetradic
#3438CF #CF3485 #CFCB34 #34CF7E
square
#3438CF #CF3485 #CFCB34 #34CF7E
split-complementary
#3438CF #CF7E34 #85CF34
monochromatic
#1A1C6E #2629A0 #3438CF #6569DB #9799E6

Accessibility & contrast

On white

8.04
#3438CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3438CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438CF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438CF#FFFFFF#000000##FFFFFF
##3438CF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0049CC
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3438cf;
/* rgb */ color: rgb(52, 56, 207);
/* oklch */ color: oklch(45.3% 0.224 271.9);
Tailwind
colors: {
  custom: {
    50: '#8470df',
    500: '#3438cf',
    950: '#000000',
  },
}
SCSS
$custom: #3438cf;
$custom-light: #8470df;
$custom-dark: #000000;
JSON
{
  "hex": "#3438cf",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 238.452,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.22421,
    "h": 271.9
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#3438CF
secondary
#D2D08D
accent
#E143E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3438CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3438CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva