#234DB5#234DB5

#234DB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.172 H 264.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#234DB5
RGBrgb(35, 77, 181)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(80.7%, 57.5%, 0%, 29%)
CIE-LABlab(35.98, 24.55, -59.16)
CIE-LCHlch(35.98, 64.05, 292.53°)
OKLaboklab(45.7% -0.0178 -0.1709)
OKLCHoklch(45.7% 0.172 264.1)
XYZxyz(11.6845, 8.9999, 44.8284)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234DB5 #B58B23
analogous
#2396B5 #234DB5 #4223B5
triadic
#234DB5 #B5234D #4DB523
tetradic
#234DB5 #B52396 #B58B23 #23B542
square
#234DB5 #B52396 #B58B23 #23B542
split-complementary
#234DB5 #B54223 #96B523
monochromatic
#0F214E #193782 #234DB5 #3C69D9 #6F91E3

Accessibility & contrast

On white

7.50
#234DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#234DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234DB5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234DB5#FFFFFF#000000##FFFFFF
##234DB51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #234db5;
/* rgb */ color: rgb(35, 77, 181);
/* oklch */ color: oklch(45.7% 0.172 264.1);
Tailwind
colors: {
  custom: {
    50: '#777ecc',
    500: '#234db5',
    950: '#000000',
  },
}
SCSS
$custom: #234db5;
$custom-light: #777ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#234db5",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 222.74,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.17181,
    "h": 264.1
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#234DB5
secondary
#CAAE6A
accent
#B93DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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