#234F95#234F95

#234F95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.125 H 259.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#234F95
RGBrgb(35, 79, 149)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 77%, 58%)
CMYKcmyk(76.5%, 47%, 0%, 41.6%)
CIE-LABlab(34.23, 10.65, -42.85)
CIE-LCHlch(34.23, 44.16, 283.96°)
OKLaboklab(43.63% -0.023 -0.1229)
OKLCHoklch(43.63% 0.125 259.4)
XYZxyz(8.9120, 8.1182, 29.5252)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F95 #956923
analogous
#238895 #234F95 #302395
triadic
#234F95 #95234F #4F9523
tetradic
#234F95 #952388 #956923 #239530
square
#234F95 #952388 #956923 #239530
split-complementary
#234F95 #953023 #889523
monochromatic
#0C1A32 #173563 #234F95 #2F69C7 #5A8BD8

Accessibility & contrast

On white

8.00
#234F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#234F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F95
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F95#FFFFFF#000000##FFFFFF
##234F951.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234f95;
/* rgb */ color: rgb(35, 79, 149);
/* oklch */ color: oklch(43.6% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb5',
    500: '#234f95',
    950: '#000000',
  },
}
SCSS
$custom: #234f95;
$custom-light: #6f7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#234f95",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 216.842,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.12502,
    "h": 259.4
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#234F95
secondary
#BD9557
accent
#A643E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F95

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

Preview Lab → · Contrast checker → · Palette generator →

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