#2234A7#2234A7

#2234A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.183 H 268.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2234A7
RGBrgb(34, 52, 167)
HSLhsl(232, 66%, 39%)
HSVhsv(232, 80%, 65%)
CMYKcmyk(79.6%, 68.9%, 0%, 34.5%)
CIE-LABlab(28.34, 35.59, -63.32)
CIE-LCHlch(28.34, 72.64, 299.34°)
OKLaboklab(39.66% -0.004 -0.1834)
OKLCHoklch(39.66% 0.183 268.7)
XYZxyz(8.8603, 5.5851, 37.1628)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2234A7 #A79522
analogous
#2276A7 #2234A7 #5322A7
triadic
#2234A7 #A72234 #34A722
tetradic
#2234A7 #A72276 #A79522 #22A753
square
#2234A7 #A72276 #A79522 #22A753
split-complementary
#2234A7 #A75322 #76A722
monochromatic
#0D1441 #182474 #2234A7 #3147D5 #6475DF

Accessibility & contrast

On white

9.92
#2234A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2234A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2234A7
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2234A7#FFFFFF#000000##FFFFFF
##2234A71.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2234a7;
/* rgb */ color: rgb(34, 52, 167);
/* oklch */ color: oklch(39.7% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#756bc2',
    500: '#2234a7',
    950: '#000000',
  },
}
SCSS
$custom: #2234a7;
$custom-light: #756bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2234a7",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 231.88,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.18341,
    "h": 268.7
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#2234A7
secondary
#C5B760
accent
#D23FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2234A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2234A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva