#234DB2#234DB2

#234DB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.168 H 263.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#234DB2
RGBrgb(35, 77, 178)
HSLhsl(222, 67%, 42%)
HSVhsv(222, 80%, 70%)
CMYKcmyk(80.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(35.75, 23.38, -57.77)
CIE-LCHlch(35.75, 62.32, 292.04°)
OKLaboklab(45.45% -0.0179 -0.1668)
OKLCHoklch(45.45% 0.168 263.9)
XYZxyz(11.3800, 8.8781, 43.2247)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234DB2 #B28823
analogous
#2395B2 #234DB2 #4123B2
triadic
#234DB2 #B2234D #4DB223
tetradic
#234DB2 #B22395 #B28823 #23B241
square
#234DB2 #B22395 #B28823 #23B241
split-complementary
#234DB2 #B24123 #95B223
monochromatic
#0F214C #19377F #234DB2 #3A68D8 #6D90E2

Accessibility & contrast

On white

7.57
#234DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#234DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234DB2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234DB2#FFFFFF#000000##FFFFFF
##234DB21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #234db2;
/* rgb */ color: rgb(35, 77, 178);
/* oklch */ color: oklch(45.5% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#767eca',
    500: '#234db2',
    950: '#000000',
  },
}
SCSS
$custom: #234db2;
$custom-light: #767eca;
$custom-dark: #000000;
JSON
{
  "hex": "#234db2",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 222.378,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.16776,
    "h": 263.9
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#234DB2
secondary
#C9AC68
accent
#B73EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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