#33438B#33438B

#33438B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.121 H 270.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#33438B
RGBrgb(51, 67, 139)
HSLhsl(229, 46%, 37%)
HSVhsv(229, 63%, 55%)
CMYKcmyk(63.3%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.83, 17.53, -42.16)
CIE-LCHlch(30.83, 45.66, 292.58°)
OKLaboklab(41.03% 0.0017 -0.1207)
OKLCHoklch(41.03% 0.121 270.8)
XYZxyz(8.0310, 6.5815, 25.2682)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33438B #8B7B33
analogous
#336F8B #33438B #4F338B
triadic
#33438B #8B3343 #438B33
tetradic
#33438B #8B336F #8B7B33 #338B4F
square
#33438B #8B336F #8B7B33 #338B4F
split-complementary
#33438B #8B4F33 #6F8B33
monochromatic
#121831 #232D5E #33438B #4359B8 #6E7FCA

Accessibility & contrast

On white

9.07
#33438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#33438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33438B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33438B#FFFFFF#000000##FFFFFF
##33438B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #33438b;
/* rgb */ color: rgb(51, 67, 139);
/* oklch */ color: oklch(41.0% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#7476ad',
    500: '#33438b',
    950: '#000000',
  },
}
SCSS
$custom: #33438b;
$custom-light: #7476ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33438b",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 229.091,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.12073,
    "h": 270.8
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#33438B
secondary
#B2A468
accent
#BE52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33438B

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

Preview Lab → · Contrast checker → · Palette generator →

#33438B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva