#234F99#234F99

#234F99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.131 H 260.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#234F99
RGBrgb(35, 79, 153)
HSLhsl(218, 63%, 37%)
HSVhsv(218, 77%, 60%)
CMYKcmyk(77.1%, 48.4%, 0%, 40%)
CIE-LABlab(34.49, 12.23, -44.85)
CIE-LCHlch(34.49, 46.48, 285.25°)
OKLaboklab(43.92% -0.0223 -0.1287)
OKLCHoklch(43.92% 0.131 260.2)
XYZxyz(9.2368, 8.2481, 31.2361)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F99 #996D23
analogous
#238A99 #234F99 #322399
triadic
#234F99 #99234F #4F9923
tetradic
#234F99 #99238A #996D23 #239932
square
#234F99 #99238A #996D23 #239932
split-complementary
#234F99 #993223 #8A9923
monochromatic
#0C1C35 #183567 #234F99 #2E69CB #5D8BDA

Accessibility & contrast

On white

7.93
#234F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#234F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F99
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F99#FFFFFF#000000##FFFFFF
##234F991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#034C98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f99;
/* rgb */ color: rgb(35, 79, 153);
/* oklch */ color: oklch(43.9% 0.131 260.2);
Tailwind
colors: {
  custom: {
    50: '#707fb7',
    500: '#234f99',
    950: '#000000',
  },
}
SCSS
$custom: #234f99;
$custom-light: #707fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234f99",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 217.627,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.13067,
    "h": 260.2
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#234F99
secondary
#BE9959
accent
#A942E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F99

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

Preview Lab → · Contrast checker → · Palette generator →

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