#234CA5#234CA5

#234CA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.151 H 263.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#234CA5
RGBrgb(35, 76, 165)
HSLhsl(221, 65%, 39%)
HSVhsv(221, 79%, 65%)
CMYKcmyk(78.8%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.48, 18.97, -52.09)
CIE-LCHlch(34.48, 55.44, 290.02°)
OKLaboklab(44.18% -0.0183 -0.1501)
OKLCHoklch(44.18% 0.151 263)
XYZxyz(10.0667, 8.2417, 36.6503)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA5 #A57C23
analogous
#238DA5 #234CA5 #3B23A5
triadic
#234CA5 #A5234C #4CA523
tetradic
#234CA5 #A5238D #A57C23 #23A53B
square
#234CA5 #A5238D #A57C23 #23A53B
split-complementary
#234CA5 #A53B23 #8DA523
monochromatic
#0E1D40 #183573 #234CA5 #3265D3 #648BDE

Accessibility & contrast

On white

7.93
#234CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#234CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA5#FFFFFF#000000##FFFFFF
##234CA51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234ca5;
/* rgb */ color: rgb(35, 76, 165);
/* oklch */ color: oklch(44.2% 0.151 263.0);
Tailwind
colors: {
  custom: {
    50: '#737dc0',
    500: '#234ca5',
    950: '#000000',
  },
}
SCSS
$custom: #234ca5;
$custom-light: #737dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca5",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 221.077,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.15123,
    "h": 263
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#234CA5
secondary
#C4A460
accent
#B340E8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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