#2234A5#2234A5

#2234A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.181 H 268.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2234A5
RGBrgb(34, 52, 165)
HSLhsl(232, 66%, 39%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(79.4%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.15, 34.85, -62.43)
CIE-LCHlch(28.15, 71.50, 299.17°)
OKLaboklab(39.46% -0.0038 -0.1808)
OKLCHoklch(39.46% 0.181 268.8)
XYZxyz(8.6769, 5.5117, 36.1966)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2234A5 #A59322
analogous
#2276A5 #2234A5 #5222A5
triadic
#2234A5 #A52234 #34A522
tetradic
#2234A5 #A52276 #A59322 #22A552
square
#2234A5 #A52276 #A59322 #22A552
split-complementary
#2234A5 #A55222 #76A522
monochromatic
#0D1440 #182472 #2234A5 #3046D4 #6374DF

Accessibility & contrast

On white

9.99
#2234A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2234A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2234A5
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2234A5#FFFFFF#000000##FFFFFF
##2234A51.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2234a5;
/* rgb */ color: rgb(34, 52, 165);
/* oklch */ color: oklch(39.5% 0.181 268.8);
Tailwind
colors: {
  custom: {
    50: '#746bc1',
    500: '#2234a5',
    950: '#000000',
  },
}
SCSS
$custom: #2234a5;
$custom-light: #746bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2234a5",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 231.756,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.18082,
    "h": 268.8
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#2234A5
secondary
#C4B65F
accent
#D13FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2234A5

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

Preview Lab → · Contrast checker → · Palette generator →

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