#334883#334883

#334883 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.102 H 267.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#334883
RGBrgb(51, 72, 131)
HSLhsl(224, 44%, 36%)
HSVhsv(224, 61%, 51%)
CMYKcmyk(61.1%, 45%, 0%, 48.6%)
CIE-LABlab(31.75, 11.24, -35.74)
CIE-LCHlch(31.75, 37.47, 287.46°)
OKLaboklab(41.56% -0.005 -0.1018)
OKLCHoklch(41.56% 0.102 267.2)
XYZxyz(7.7780, 6.9766, 22.4051)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334883 #836E33
analogous
#337083 #334883 #463383
triadic
#334883 #833348 #488333
tetradic
#334883 #833370 #836E33 #338346
square
#334883 #833370 #836E33 #338346
split-complementary
#334883 #834633 #708333
monochromatic
#11182B #223057 #334883 #4460AF #6B83C5

Accessibility & contrast

On white

8.77
#334883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#334883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334883
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334883#FFFFFF#000000##FFFFFF
##3348831.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F85
Deuteranopia (green-blind)
#224782
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #334883;
/* rgb */ color: rgb(51, 72, 131);
/* oklch */ color: oklch(41.6% 0.102 267.2);
Tailwind
colors: {
  custom: {
    50: '#727aa7',
    500: '#334883',
    950: '#000000',
  },
}
SCSS
$custom: #334883;
$custom-light: #727aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#334883",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 224.25,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.10192,
    "h": 267.2
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#334883
secondary
#AD9A65
accent
#B254D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #334883

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

Preview Lab → · Contrast checker → · Palette generator →

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