#232A7F#232A7F

#232A7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.141 H 272.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#232A7F
RGBrgb(35, 42, 127)
HSLhsl(235, 57%, 32%)
HSVhsv(235, 72%, 50%)
CMYKcmyk(72.4%, 66.9%, 0%, 50.2%)
CIE-LABlab(22.11, 27.38, -48.89)
CIE-LCHlch(22.11, 56.03, 299.25°)
OKLaboklab(33.96% 0.0064 -0.1412)
OKLCHoklch(33.96% 0.141 272.6)
XYZxyz(5.3506, 3.5450, 20.4768)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A7F #7F7823
analogous
#23587F #232A7F #4A237F
triadic
#232A7F #7F232A #2A7F23
tetradic
#232A7F #7F2358 #7F7823 #237F4A
square
#232A7F #7F2358 #7F7823 #237F4A
split-complementary
#232A7F #7F4A23 #587F23
monochromatic
#090A1F #161A4F #232A7F #303AAF #4E58CE

Accessibility & contrast

On white

12.29
#232A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A7F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A7F#FFFFFF#000000##FFFFFF
##232A7F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232a7f;
/* rgb */ color: rgb(35, 42, 127);
/* oklch */ color: oklch(34.0% 0.141 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c63a5',
    500: '#232a7f',
    950: '#000000',
  },
}
SCSS
$custom: #232a7f;
$custom-light: #6c63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#232a7f",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 235.435,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.14133,
    "h": 272.6
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#232A7F
secondary
#B1AA4C
accent
#D448E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #232A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#232A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva