#234FA2#234FA2

#234FA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.143 H 261.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#234FA2
RGBrgb(35, 79, 162)
HSLhsl(219, 64%, 39%)
HSVhsv(219, 78%, 64%)
CMYKcmyk(78.4%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.12, 15.78, -49.26)
CIE-LCHlch(35.12, 51.73, 287.76°)
OKLaboklab(44.6% -0.021 -0.1417)
OKLCHoklch(44.6% 0.143 261.6)
XYZxyz(10.0084, 8.5568, 35.2996)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FA2 #A27623
analogous
#238EA2 #234FA2 #3723A2
triadic
#234FA2 #A2234F #4FA223
tetradic
#234FA2 #A2238E #A27623 #23A237
square
#234FA2 #A2238E #A27623 #23A237
split-complementary
#234FA2 #A23723 #8EA223
monochromatic
#0D1E3D #183670 #234FA2 #3068D2 #628DDD

Accessibility & contrast

On white

7.74
#234FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#234FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FA2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FA2#FFFFFF#000000##FFFFFF
##234FA21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234fa2;
/* rgb */ color: rgb(35, 79, 162);
/* oklch */ color: oklch(44.6% 0.143 261.6);
Tailwind
colors: {
  custom: {
    50: '#727fbe',
    500: '#234fa2',
    950: '#000000',
  },
}
SCSS
$custom: #234fa2;
$custom-light: #727fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#234fa2",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 219.213,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.14329,
    "h": 261.6
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#234FA2
secondary
#C2A05E
accent
#AE40E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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