#234AA7#234AA7

#234AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.157 H 263.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#234AA7
RGBrgb(35, 74, 167)
HSLhsl(222, 65%, 40%)
HSVhsv(222, 79%, 65%)
CMYKcmyk(79%, 55.7%, 0%, 34.5%)
CIE-LABlab(34.07, 21.11, -53.95)
CIE-LCHlch(34.07, 57.93, 291.37°)
OKLaboklab(43.92% -0.0166 -0.1556)
OKLCHoklch(43.92% 0.157 263.9)
XYZxyz(10.1145, 8.0437, 37.5712)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AA7 #A78023
analogous
#238CA7 #234AA7 #3E23A7
triadic
#234AA7 #A7234A #4AA723
tetradic
#234AA7 #A7238C #A78023 #23A73E
square
#234AA7 #A7238C #A78023 #23A73E
split-complementary
#234AA7 #A73E23 #8CA723
monochromatic
#0E1D42 #183474 #234AA7 #3363D4 #6689DF

Accessibility & contrast

On white

8.05
#234AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#234AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AA7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AA7#FFFFFF#000000##FFFFFF
##234AA71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234aa7;
/* rgb */ color: rgb(35, 74, 167);
/* oklch */ color: oklch(43.9% 0.157 263.9);
Tailwind
colors: {
  custom: {
    50: '#737bc2',
    500: '#234aa7',
    950: '#000000',
  },
}
SCSS
$custom: #234aa7;
$custom-light: #737bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#234aa7",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 222.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.15651,
    "h": 263.9
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#234AA7
secondary
#C4A761
accent
#B63FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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