#234DB4#234DB4

#234DB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.170 H 264.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#234DB4
RGBrgb(35, 77, 180)
HSLhsl(223, 67%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(80.6%, 57.2%, 0%, 29.4%)
CIE-LABlab(35.91, 24.16, -58.70)
CIE-LCHlch(35.91, 63.47, 292.37°)
OKLaboklab(45.62% -0.0178 -0.1695)
OKLCHoklch(45.62% 0.17 264)
XYZxyz(11.5823, 8.9590, 44.2900)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234DB4 #B48A23
analogous
#2395B4 #234DB4 #4223B4
triadic
#234DB4 #B4234D #4DB423
tetradic
#234DB4 #B42395 #B48A23 #23B442
square
#234DB4 #B42395 #B48A23 #23B442
split-complementary
#234DB4 #B44223 #95B423
monochromatic
#0F214E #193781 #234DB4 #3B69D9 #6E90E3

Accessibility & contrast

On white

7.52
#234DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#234DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234DB4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234DB4#FFFFFF#000000##FFFFFF
##234DB41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #234db4;
/* rgb */ color: rgb(35, 77, 180);
/* oklch */ color: oklch(45.6% 0.170 264.0);
Tailwind
colors: {
  custom: {
    50: '#767ecb',
    500: '#234db4',
    950: '#000000',
  },
}
SCSS
$custom: #234db4;
$custom-light: #767ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#234db4",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 222.621,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.17046,
    "h": 264
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#234DB4
secondary
#C9AE69
accent
#B83DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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