#234A7D#234A7D

#234A7D is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.097 H 256.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#234A7D
RGBrgb(35, 74, 125)
HSLhsl(214, 56%, 31%)
HSVhsv(214, 72%, 49%)
CMYKcmyk(72%, 40.8%, 0%, 51%)
CIE-LABlab(31.20, 4.57, -32.95)
CIE-LCHlch(31.20, 33.27, 277.89°)
OKLaboklab(40.79% -0.0233 -0.0939)
OKLCHoklch(40.79% 0.097 256.1)
XYZxyz(6.8422, 6.7348, 20.3374)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A7D #7D5623
analogous
#23777D #234A7D #29237D
triadic
#234A7D #7D234A #4A7D23
tetradic
#234A7D #7D2377 #7D5623 #237D29
square
#234A7D #7D2377 #7D5623 #237D29
split-complementary
#234A7D #7D2923 #777D23
monochromatic
#08111D #162E4D #234A7D #3066AD #4D85CD

Accessibility & contrast

On white

8.95
#234A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#234A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A7D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A7D#FFFFFF#000000##FFFFFF
##234A7D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234a7d;
/* rgb */ color: rgb(35, 74, 125);
/* oklch */ color: oklch(40.8% 0.097 256.1);
Tailwind
colors: {
  custom: {
    50: '#697ca3',
    500: '#234a7d',
    950: '#000000',
  },
}
SCSS
$custom: #234a7d;
$custom-light: #697ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#234a7d",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 214,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.09674,
    "h": 256.1
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#234A7D
secondary
#AF854C
accent
#9E48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #234A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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