#234CA2#234CA2

#234CA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.147 H 262.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#234CA2
RGBrgb(35, 76, 162)
HSLhsl(221, 64%, 39%)
HSVhsv(221, 78%, 64%)
CMYKcmyk(78.4%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.26, 17.80, -50.65)
CIE-LCHlch(34.26, 53.68, 289.36°)
OKLaboklab(43.94% -0.0186 -0.1459)
OKLCHoklch(43.94% 0.147 262.7)
XYZxyz(9.7968, 8.1337, 35.2290)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA2 #A27923
analogous
#238BA2 #234CA2 #3923A2
triadic
#234CA2 #A2234C #4CA223
tetradic
#234CA2 #A2238B #A27923 #23A239
square
#234CA2 #A2238B #A27923 #23A239
split-complementary
#234CA2 #A23923 #8BA223
monochromatic
#0D1D3D #183470 #234CA2 #3064D2 #628ADD

Accessibility & contrast

On white

7.99
#234CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#234CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA2#FFFFFF#000000##FFFFFF
##234CA21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234ca2;
/* rgb */ color: rgb(35, 76, 162);
/* oklch */ color: oklch(43.9% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#727dbe',
    500: '#234ca2',
    950: '#000000',
  },
}
SCSS
$custom: #234ca2;
$custom-light: #727dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca2",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 220.63,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.14706,
    "h": 262.7
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#234CA2
secondary
#C2A25E
accent
#B240E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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