#234CA7#234CA7

#234CA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.154 H 263.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#234CA7
RGBrgb(35, 76, 167)
HSLhsl(221, 65%, 40%)
HSVhsv(221, 79%, 65%)
CMYKcmyk(79%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.63, 19.76, -53.04)
CIE-LCHlch(34.63, 56.60, 290.43°)
OKLaboklab(44.34% -0.0181 -0.1529)
OKLCHoklch(44.34% 0.154 263.2)
XYZxyz(10.2501, 8.3150, 37.6165)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA7 #A77E23
analogous
#238EA7 #234CA7 #3C23A7
triadic
#234CA7 #A7234C #4CA723
tetradic
#234CA7 #A7238E #A77E23 #23A73C
square
#234CA7 #A7238E #A77E23 #23A73C
split-complementary
#234CA7 #A73C23 #8EA723
monochromatic
#0E1E42 #183574 #234CA7 #3365D4 #668BDF

Accessibility & contrast

On white

7.89
#234CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#234CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA7#FFFFFF#000000##FFFFFF
##234CA71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234ca7;
/* rgb */ color: rgb(35, 76, 167);
/* oklch */ color: oklch(44.3% 0.154 263.2);
Tailwind
colors: {
  custom: {
    50: '#737dc2',
    500: '#234ca7',
    950: '#000000',
  },
}
SCSS
$custom: #234ca7;
$custom-light: #737dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca7",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 221.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.154,
    "h": 263.2
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#234CA7
secondary
#C4A661
accent
#B43FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#234CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva