#2235A7#2235A7

#2235A7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.182 H 268.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2235A7
RGBrgb(34, 53, 167)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(79.6%, 68.3%, 0%, 34.5%)
CIE-LABlab(28.58, 34.95, -62.93)
CIE-LCHlch(28.58, 71.98, 299.05°)
OKLaboklab(39.83% -0.0045 -0.1822)
OKLCHoklch(39.83% 0.182 268.6)
XYZxyz(8.9054, 5.6753, 37.1778)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235A7 #A79422
analogous
#2277A7 #2235A7 #5222A7
triadic
#2235A7 #A72235 #35A722
tetradic
#2235A7 #A72277 #A79422 #22A752
square
#2235A7 #A72277 #A79422 #22A752
split-complementary
#2235A7 #A75222 #77A722
monochromatic
#0D1541 #182574 #2235A7 #3149D5 #6476DF

Accessibility & contrast

On white

9.84
#2235A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2235A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235A7
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235A7#FFFFFF#000000##FFFFFF
##2235A71.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2235a7;
/* rgb */ color: rgb(34, 53, 167);
/* oklch */ color: oklch(39.8% 0.182 268.6);
Tailwind
colors: {
  custom: {
    50: '#756cc2',
    500: '#2235a7',
    950: '#000000',
  },
}
SCSS
$custom: #2235a7;
$custom-light: #756cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2235a7",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 231.429,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39829,
    "c": 0.18229,
    "h": 268.6
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#2235A7
secondary
#C5B660
accent
#D13FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2235A7

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

Preview Lab → · Contrast checker → · Palette generator →

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