#234AA2#234AA2

#234AA2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.150 H 263.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#234AA2
RGBrgb(35, 74, 162)
HSLhsl(222, 64%, 39%)
HSVhsv(222, 78%, 64%)
CMYKcmyk(78.4%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.69, 19.15, -51.56)
CIE-LCHlch(33.69, 55.00, 290.37°)
OKLaboklab(43.52% -0.0171 -0.1486)
OKLCHoklch(43.52% 0.15 263.4)
XYZxyz(9.6612, 7.8624, 35.1838)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AA2 #A27B23
analogous
#2389A2 #234AA2 #3B23A2
triadic
#234AA2 #A2234A #4AA223
tetradic
#234AA2 #A22389 #A27B23 #23A23B
square
#234AA2 #A22389 #A27B23 #23A23B
split-complementary
#234AA2 #A23B23 #89A223
monochromatic
#0D1C3D #183370 #234AA2 #3062D2 #6288DD

Accessibility & contrast

On white

8.16
#234AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#234AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AA2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AA2#FFFFFF#000000##FFFFFF
##234AA21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234aa2;
/* rgb */ color: rgb(35, 74, 162);
/* oklch */ color: oklch(43.5% 0.150 263.4);
Tailwind
colors: {
  custom: {
    50: '#727bbe',
    500: '#234aa2',
    950: '#000000',
  },
}
SCSS
$custom: #234aa2;
$custom-light: #727bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#234aa2",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 221.575,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.14959,
    "h": 263.4
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#234AA2
secondary
#C2A45E
accent
#B440E7
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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