#234F7D#234F7D

#234F7D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.091 H 251.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#234F7D
RGBrgb(35, 79, 125)
HSLhsl(211, 56%, 31%)
HSVhsv(211, 72%, 49%)
CMYKcmyk(72%, 36.8%, 0%, 51%)
CIE-LABlab(32.76, 1.26, -30.46)
CIE-LCHlch(32.76, 30.49, 272.38°)
OKLaboklab(42.02% -0.0285 -0.0865)
OKLCHoklch(42.02% 0.091 251.7)
XYZxyz(7.1894, 7.4292, 20.4531)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F7D #7D5123
analogous
#237C7D #234F7D #24237D
triadic
#234F7D #7D234F #4F7D23
tetradic
#234F7D #7D237C #7D5123 #237D24
square
#234F7D #7D237C #7D5123 #237D24
split-complementary
#234F7D #7D2423 #7C7D23
monochromatic
#08131D #16314D #234F7D #306DAD #4D8CCD

Accessibility & contrast

On white

8.45
#234F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#234F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F7D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F7D#FFFFFF#000000##FFFFFF
##234F7D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234f7d;
/* rgb */ color: rgb(35, 79, 125);
/* oklch */ color: oklch(42.0% 0.091 251.7);
Tailwind
colors: {
  custom: {
    50: '#6980a3',
    500: '#234f7d',
    950: '#000000',
  },
}
SCSS
$custom: #234f7d;
$custom-light: #6980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#234f7d",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 210.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.09112,
    "h": 251.7
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#234F7D
secondary
#AF7F4C
accent
#9648E0
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #234F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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