#234FA7#234FA7

#234FA7 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.150 H 262.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#234FA7
RGBrgb(35, 79, 167)
HSLhsl(220, 65%, 40%)
HSVhsv(220, 79%, 65%)
CMYKcmyk(79%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.48, 17.75, -51.67)
CIE-LCHlch(35.48, 54.64, 288.95°)
OKLaboklab(44.98% -0.0204 -0.1488)
OKLCHoklch(44.98% 0.15 262.2)
XYZxyz(10.4617, 8.7381, 37.6870)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FA7 #A77B23
analogous
#2391A7 #234FA7 #3923A7
triadic
#234FA7 #A7234F #4FA723
tetradic
#234FA7 #A72391 #A77B23 #23A739
square
#234FA7 #A72391 #A77B23 #23A739
split-complementary
#234FA7 #A73923 #91A723
monochromatic
#0E1F42 #183774 #234FA7 #3369D4 #668EDF

Accessibility & contrast

On white

7.64
#234FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#234FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FA7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FA7#FFFFFF#000000##FFFFFF
##234FA71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115AAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234fa7;
/* rgb */ color: rgb(35, 79, 167);
/* oklch */ color: oklch(45.0% 0.150 262.2);
Tailwind
colors: {
  custom: {
    50: '#737fc2',
    500: '#234fa7',
    950: '#000000',
  },
}
SCSS
$custom: #234fa7;
$custom-light: #737fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#234fa7",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 220,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.15024,
    "h": 262.2
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#234FA7
secondary
#C4A361
accent
#B03FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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